X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=util%2Ftypo.php;h=a8055c84184317ba3d51f564938f959b38b93211;hb=bbf9378a495106a452b2c6001902b44c7e88fef0;hp=84a50e15e236b0d68b6c08557d94884cb609b618;hpb=767b4f30f7ee114b1cfd66e68fa959ac033b5667;p=friendica.git diff --git a/util/typo.php b/util/typo.php index 84a50e15e2..a8055c8418 100644 --- a/util/typo.php +++ b/util/typo.php @@ -25,18 +25,31 @@ echo $file . "\n"; include_once($file); } + + echo "Directory: object\n"; + $files = glob('object/*.php'); + foreach($files as $file) { + echo $file . "\n"; + include_once($file); + } echo "Directory: addon\n"; $dirs = glob('addon/*'); foreach($dirs as $dir) { - $files = glob($dir . '/*.php'); + $addon = basename($dir); + $files = glob($dir . '/' . $addon . '.php'); foreach($files as $file) { echo $file . "\n"; include_once($file); } } + 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 +60,6 @@ foreach($files as $file) { echo $file . "\n"; - include_once($file); + passthru($phpath . ' util/typohelper.php ' . $file); +// include_once($file); }