]> git.mxchange.org Git - friendica.git/blobdiff - util/typo.php
rev update
[friendica.git] / util / typo.php
index e20cce86a5a3c68cc74ef7b7399b1d8abecaaca5..bb2fc67c9f687ccfc21a1c5b55e3e08c8f507829 100644 (file)
@@ -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);