diff --git a/system/engine/autoload.php b/system/engine/autoload.php index cbbf3d2..c1f5ea7 100644 --- a/system/engine/autoload.php +++ b/system/engine/autoload.php @@ -179,8 +179,17 @@ spl_autoload_register(function ($class) { } } + + return; }); -require_once(DIR_SYSTEM . 'engine/action.php'); \ No newline at end of file +require_once(DIR_SYSTEM . 'engine/action.php'); + +$composer = defined('DIR_VENDOR') ? DIR_VENDOR : DIR_SYSTEM . 'vendor/autoload.php'; + +if (file_exists($composer)) { + $autoloadComposer = (include_once $composer); + //return; +} \ No newline at end of file