Remove innecesary return.

This commit is contained in:
KJ 2024-10-29 19:10:47 -04:00
parent 6aef212350
commit 31c5c63952

View File

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