Skip to content

Commit

Permalink
Framework: Load Date module early since it has its own loader
Browse files Browse the repository at this point in the history
  • Loading branch information
eliot-akira committed Nov 24, 2024
1 parent 8c8007b commit 8de614a
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion framework/index.php
Original file line number Diff line number Diff line change
Expand Up @@ -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';
Expand All @@ -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';
Expand Down

0 comments on commit 8de614a

Please sign in to comment.