1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-08 12:12:48 +01:00

Merge pull request #7048 from turbo124/master

Move loading of constants.php to index.php
This commit is contained in:
David Bomba 2021-12-18 21:19:18 +11:00 committed by GitHub
commit 70444c7a12
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 4 additions and 2 deletions

View File

@ -167,7 +167,7 @@ class StepsController extends BaseController
$body = [
'account_key' => $account->account_key,
'email' => \Auth::user()->email,
'email' => $account->getPrimaryUser()->email,
'plan' => $account->company->plan,
'plan_term' =>$account->company->plan_term,
'plan_started' =>$account->company->plan_started,

View File

@ -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

View File

@ -412,4 +412,4 @@ if (Utils::isNinjaDev())
*/
// Include static app constants
require_once app_path() . '/Constants.php';
// require_once app_path() . '/Constants.php';