diff --git a/public/index.php b/public/index.php index 928f8818c1..2568d6704c 100644 --- a/public/index.php +++ b/public/index.php @@ -31,8 +31,10 @@ require __DIR__.'/../bootstrap/autoload.php'; | */ + $app = require_once __DIR__.'/../bootstrap/app.php'; +require_once __DIR__.'/../app/Constants.php'; /* |-------------------------------------------------------------------------- | Run The Application diff --git a/routes/web.php b/routes/web.php index 77fa114091..edb7ada863 100644 --- a/routes/web.php +++ b/routes/web.php @@ -412,4 +412,4 @@ if (Utils::isNinjaDev()) */ // Include static app constants -require_once app_path() . '/Constants.php'; +// require_once app_path() . '/Constants.php';