X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=util%2Ftypo.php;h=bb2fc67c9f687ccfc21a1c5b55e3e08c8f507829;hb=b6a3471608476d974ab3d74c7d3ddbaa769219a0;hp=e20cce86a5a3c68cc74ef7b7399b1d8abecaaca5;hpb=43d5876e8b35d53a0bef5248c5d63e5bc209dbbf;p=friendica.git diff --git a/util/typo.php b/util/typo.php index e20cce86a5..bb2fc67c9f 100644 --- a/util/typo.php +++ b/util/typo.php @@ -30,7 +30,8 @@ $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);