X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=util%2Ftypo.php;h=a8055c84184317ba3d51f564938f959b38b93211;hb=079c638403a3722119e54bf55c189de5d92cbcf1;hp=e20cce86a5a3c68cc74ef7b7399b1d8abecaaca5;hpb=1bba63fb607c2cb5fb2c002e63ad7128ecf8b1ea;p=friendica.git diff --git a/util/typo.php b/util/typo.php index e20cce86a5..a8055c8418 100644 --- a/util/typo.php +++ b/util/typo.php @@ -25,12 +25,20 @@ 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);