Powerful and easy to use cms to build websites, blogs or ecommerce stores.
HTML backendblogblog-engineblog-platformbloggingcmscontent-managementcontent-management-systemecommerceecommerce-platformno-codepage-builderphpphp-cmsphp7php8self-hostedshopping-cartweb-applicationwebsite-builder
Set http status to 404 if module not found
givanzace9e7515b5f
diff --git a/system/core/frontcontroller.php b/system/core/frontcontroller.phpindex 939039a..45b9148 100755--- a/system/core/frontcontroller.php+++ b/system/core/frontcontroller.php@@ -330,7 +330,8 @@ class FrontController {if (! $module && (APP != 'admin' && APP != 'install' && (Routes::init() && $parameters = Routes::match($uri)))) {$_GET = array_merge($parameters, $_GET);} else {- $module = $module ?? ((APP == 'app') ? 'error404' : 'index');+ $module = $module ?? ((APP == 'app') ? 'error404' : 'index');+ self :: $status = 404;}if (isset($_GET['route'])) {