diff options
Diffstat (limited to 'util/typo.php')
-rw-r--r-- | util/typo.php | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/util/typo.php b/util/typo.php index ac61ef6d3..e20cce86a 100644 --- a/util/typo.php +++ b/util/typo.php @@ -37,12 +37,21 @@ } } + if(x($a->config,'php_path')) + $phpath = $a->config['php_path']; + else + $phpath = 'php'; + echo "String files\n"; echo 'util/strings.php' . "\n"; include_once('util/strings.php'); + echo count($a->strings) . ' strings' . "\n"; + $files = glob('view/*/strings.php'); + foreach($files as $file) { echo $file . "\n"; - include_once($file); + passthru($phpath . ' util/typohelper.php ' . $file); +// include_once($file); } |