From 00b5f6f8a1bdc004380fd75dd5e6dc52117dd6d7 Mon Sep 17 00:00:00 2001 From: Friendika Date: Mon, 28 Mar 2011 17:24:11 -0700 Subject: added comments, make typo checker work with redefined plural string functions --- util/typo.php | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'util/typo.php') diff --git a/util/typo.php b/util/typo.php index 84a50e15e..e20cce86a 100644 --- a/util/typo.php +++ b/util/typo.php @@ -37,6 +37,11 @@ } } + if(x($a->config,'php_path')) + $phpath = $a->config['php_path']; + else + $phpath = 'php'; + echo "String files\n"; echo 'util/strings.php' . "\n"; @@ -47,5 +52,6 @@ foreach($files as $file) { echo $file . "\n"; - include_once($file); + passthru($phpath . ' util/typohelper.php ' . $file); +// include_once($file); } -- cgit v1.2.3