diff --git a/system/engine/autoload.php b/system/engine/autoload.php index 7b825c4..9a80eed 100644 --- a/system/engine/autoload.php +++ b/system/engine/autoload.php @@ -52,7 +52,8 @@ spl_autoload_register(function ($class) { 'response', 'classes', 'abstracthelper', - 'interfaces\front' + 'interfaces\front', + 'interfaces\loader' ]; if($namespace[0] == "Phacil" && in_array($classNative, $allowed)){ diff --git a/system/engine/interfaces/loader.php b/system/engine/interfaces/loader.php new file mode 100644 index 0000000..37df8d7 --- /dev/null +++ b/system/engine/interfaces/loader.php @@ -0,0 +1,78 @@ +controller($control); }