]> git.mxchange.org Git - friendica.git/blobdiff - util/typo.php
template proc: fix variables regexp
[friendica.git] / util / typo.php
old mode 100644 (file)
new mode 100755 (executable)
index 84a50e1..e20cce8
                }
        }
 
+       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);
        }