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:
commit
70444c7a12
@ -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,
|
||||
|
@ -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
|
||||
|
@ -412,4 +412,4 @@ if (Utils::isNinjaDev())
|
||||
*/
|
||||
|
||||
// Include static app constants
|
||||
require_once app_path() . '/Constants.php';
|
||||
// require_once app_path() . '/Constants.php';
|
||||
|
Loading…
Reference in New Issue
Block a user