diff --git a/framework/index.php b/framework/index.php index 8113bb1..0f3d74f 100644 --- a/framework/index.php +++ b/framework/index.php @@ -9,6 +9,9 @@ class framework { framework::$state = (object) []; } +// Load Date module early since it has its own loader +require_once __DIR__ . '/date/index.php'; + (include __DIR__ . '/module-loader.php')(new class { public $name = 'tangible_framework'; @@ -26,7 +29,6 @@ function load() { require_once __DIR__ . '/admin/index.php'; require_once __DIR__ . '/ajax/index.php'; require_once __DIR__ . '/api/index.php'; - require_once __DIR__ . '/date/index.php'; require_once __DIR__ . '/format/index.php'; require_once __DIR__ . '/hjson/index.php'; require_once __DIR__ . '/interface/index.php';