aboutsummaryrefslogtreecommitdiffstats
path: root/util/typo.php
diff options
context:
space:
mode:
Diffstat (limited to 'util/typo.php')
-rw-r--r--util/typo.php18
1 files changed, 16 insertions, 2 deletions
diff --git a/util/typo.php b/util/typo.php
index c4d038ce8..6c846696d 100644
--- a/util/typo.php
+++ b/util/typo.php
@@ -19,6 +19,20 @@
include_once($file);
}
+ echo "Directory: include/dba\n";
+ $files = glob('include/dba/*.php');
+ foreach($files as $file) {
+ echo $file . "\n";
+ include_once($file);
+ }
+
+ echo "Directory: include/photo\n";
+ $files = glob('include/photo/*.php');
+ foreach($files as $file) {
+ echo $file . "\n";
+ include_once($file);
+ }
+
echo "Directory: mod\n";
$files = glob('mod/*.php');
foreach($files as $file) {
@@ -38,8 +52,8 @@
}
}
- if(x($a->config,'php_path'))
- $phpath = $a->config['php_path'];
+ if(x($a->config,'system') && x($a->config['system'],'php_path'))
+ $phpath = $a->config['system']['php_path'];
else
$phpath = 'php';