]> git.mxchange.org Git - friendica.git/blobdiff - util/typo.php
Merge branch 'pull'
[friendica.git] / util / typo.php
old mode 100644 (file)
new mode 100755 (executable)
index ac61ef6..e20cce8
                }
        }
 
+       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);
        }