Remove innecesary return.
This commit is contained in:
parent
6aef212350
commit
31c5c63952
@ -7,10 +7,8 @@ spl_autoload_register(function ($className) {
|
|||||||
$name = basename($fp);
|
$name = basename($fp);
|
||||||
$dir = dirname($fp);
|
$dir = dirname($fp);
|
||||||
$file = ROOT_CORE.'/'.$dir.'/'.$name.'.php';
|
$file = ROOT_CORE.'/'.$dir.'/'.$name.'.php';
|
||||||
if (file_exists($file)) {
|
if (file_exists($file))
|
||||||
require_once $file;
|
require_once $file;
|
||||||
return;
|
|
||||||
}
|
|
||||||
});
|
});
|
||||||
|
|
||||||
// Incluir routers
|
// Incluir routers
|
||||||
|
Loading…
Reference in New Issue
Block a user