From cfeee5f98c8a8502da17f8362a7355c8e54998ac Mon Sep 17 00:00:00 2001 From: David Bomba Date: Wed, 15 Dec 2021 10:37:54 +1100 Subject: [PATCH] Move include for constants --- public/index.php | 2 ++ routes/web.php | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) 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';