From 31c5c63952c2bf111f05dfefb1d9cd9e5c83ae19 Mon Sep 17 00:00:00 2001 From: KJ Date: Tue, 29 Oct 2024 19:10:47 -0400 Subject: [PATCH] Remove innecesary return. --- index.php | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/index.php b/index.php index 0b2ef9c..5315b1f 100644 --- a/index.php +++ b/index.php @@ -7,10 +7,8 @@ spl_autoload_register(function ($className) { $name = basename($fp); $dir = dirname($fp); $file = ROOT_CORE.'/'.$dir.'/'.$name.'.php'; - if (file_exists($file)) { + if (file_exists($file)) require_once $file; - return; - } }); // Incluir routers