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

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

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

Loading…
Cancel
Save