correction de l'autoloader
continuous-integration/drone/push Build is passing Details

pull/130/head
Vincent ASTOLFI 2 years ago
parent 0751a60d18
commit ad10e2351c

@ -17,7 +17,7 @@ class Autoload{
private static function _autoload($class){ private static function _autoload($class){
global $rep; global $rep;
$filename = $class.'.php'; $filename = $class.'.php';
$dir=array("./","config/","controler/","modele"); $dir=array("./","config/","controler/","modele/");
foreach($dir as $d){ foreach($dir as $d){
$file=$rep.$d.$filename; $file=$rep.$d.$filename;

Loading…
Cancel
Save