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

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

@ -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/","controller/","modele/");
foreach($dir as $d){ foreach($dir as $d){
$file=$rep.$d.$filename; $file=$rep.$d.$filename;

Loading…
Cancel
Save