diff --git a/system/base.php b/system/base.php index 83dfb1d..316a63d 100644 --- a/system/base.php +++ b/system/base.php @@ -100,6 +100,7 @@ if(!function_exists('loadRoute')) { $routefile = './route/' . $name . '.php'; if(file_exists($routefile)) { include_isolate($routefile, $data); + register_loaded("route", $routefile); } } }