Facepalm.
This commit is contained in:
parent
8f48dab27c
commit
df35ae1b74
|
@ -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);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue