bring mod_common into the modern age

This commit is contained in:
friendica
2013-02-13 15:39:48 -08:00
parent b19764c9a1
commit b2724f2ffd
7 changed files with 52 additions and 602 deletions

View File

@@ -12,15 +12,15 @@
$a = new App();
echo "Directory: mod\n";
$files = glob('mod/*.php');
echo "Directory: include\n";
$files = glob('include/*.php');
foreach($files as $file) {
echo $file . "\n";
include_once($file);
}
echo "Directory: include\n";
$files = glob('include/*.php');
echo "Directory: mod\n";
$files = glob('mod/*.php');
foreach($files as $file) {
echo $file . "\n";
include_once($file);