aboutsummaryrefslogtreecommitdiffstats
path: root/php/database.php
diff options
context:
space:
mode:
Diffstat (limited to 'php/database.php')
-rw-r--r--php/database.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/php/database.php b/php/database.php
index 98946ce..fb3d35d 100644
--- a/php/database.php
+++ b/php/database.php
@@ -118,7 +118,8 @@ require_once "node.php";
node_links.name as name,
node_links.note as note,
nodes.is_directory as is_directory,
- nodes.code as code
+ nodes.code as code,
+ nodes.type as mimetype
from node_links
inner join nodes on
nodes.node_id=node_links.node_id