Cleaning autoload
This commit is contained in:
parent
1cb0e161bf
commit
ba301238d4
1 changed files with 2 additions and 2 deletions
|
|
@ -5,7 +5,7 @@ use PhangoApp\PhaUtils\Utils;
|
||||||
include('libraries/Utils.php');
|
include('libraries/Utils.php');
|
||||||
include('libraries/Routes.php');
|
include('libraries/Routes.php');
|
||||||
|
|
||||||
spl_autoload_register(function ($class_name) {
|
/*spl_autoload_register(function ($class_name) {
|
||||||
|
|
||||||
//include($nombre_clase . '.php';
|
//include($nombre_clase . '.php';
|
||||||
//echo $class_name;
|
//echo $class_name;
|
||||||
|
|
@ -19,7 +19,7 @@ spl_autoload_register(function ($class_name) {
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
});
|
});*/
|
||||||
|
|
||||||
if(is_file('vendor/autoload.php')) {
|
if(is_file('vendor/autoload.php')) {
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue