aboutsummaryrefslogtreecommitdiffstats
path: root/util/typo.php
diff options
context:
space:
mode:
Diffstat (limited to 'util/typo.php')
-rw-r--r--util/typo.php10
1 files changed, 6 insertions, 4 deletions
diff --git a/util/typo.php b/util/typo.php
index 2e25c8306..0f7249f5c 100644
--- a/util/typo.php
+++ b/util/typo.php
@@ -10,7 +10,9 @@
include 'boot.php';
- $a = new App();
+ App::init();
+
+// $a = new App();
echo "Directory: include\n";
$files = glob('include/*.php');
@@ -67,8 +69,8 @@
}
}
- if(x($a->config,'system') && x($a->config['system'],'php_path'))
- $phpath = $a->config['system']['php_path'];
+ if(x(App::$config,'system') && x(App::$config['system'],'php_path'))
+ $phpath = App::$config['system']['php_path'];
else
$phpath = 'php';
@@ -76,7 +78,7 @@
echo 'util/hstrings.php' . "\n";
include_once('util/hstrings.php');
- echo count($a->strings) . ' strings' . "\n";
+ echo count(App::$strings) . ' strings' . "\n";
$files = glob('view/*/hstrings.php');