|
|
@ -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;
|
|
|
|