Facepalm.

This commit is contained in:
Alan Garcia 2014-02-27 17:12:02 +00:00
parent 8f48dab27c
commit df35ae1b74
1 changed files with 1 additions and 2 deletions

View File

@ -160,8 +160,7 @@ $classes=array();
/* CLASSES PHP : automatic include : */ /* CLASSES PHP : automatic include : */
foreach ( glob( $root."class/m_*.php") as $di ) { foreach ( glob( $root."class/m_*.php") as $di ) {
if (preg_match("#${root}class/m_(.*)\\.php$#",$di,$match)) { // $ if (preg_match("#${root}class/m_(.*)\\.php$#",$di,$match)) { // $
$name=$match[1]; $classes[]=$match[1];
$classes[]=$name;
require_once($di); require_once($di);
} }
} }