From df35ae1b74b461981ab7e2d94777ecca9998ca4a Mon Sep 17 00:00:00 2001 From: Alan Garcia Date: Thu, 27 Feb 2014 17:12:02 +0000 Subject: [PATCH] Facepalm. --- bureau/class/config.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/bureau/class/config.php b/bureau/class/config.php index 43b22265..d7ce85fc 100644 --- a/bureau/class/config.php +++ b/bureau/class/config.php @@ -160,8 +160,7 @@ $classes=array(); /* CLASSES PHP : automatic include : */ foreach ( glob( $root."class/m_*.php") as $di ) { if (preg_match("#${root}class/m_(.*)\\.php$#",$di,$match)) { // $ - $name=$match[1]; - $classes[]=$name; + $classes[]=$match[1]; require_once($di); } }