diff --git a/app/Http/routes.php b/app/Http/routes.php index 315685a570ff..a724e6a4791d 100644 --- a/app/Http/routes.php +++ b/app/Http/routes.php @@ -361,13 +361,8 @@ if (Utils::isNinjaDev()) } */ -if (!defined('CONTACT_EMAIL')) +if (!defined('ENV_DEVELOPMENT')) { - define('APP_NAME', env('APP_NAME', 'Invoice Ninja')); - define('CONTACT_EMAIL', env('MAIL_FROM_ADDRESS')); - define('CONTACT_NAME', env('MAIL_FROM_NAME')); - define('SITE_URL', env('APP_URL')); - define('ENV_DEVELOPMENT', 'local'); define('ENV_STAGING', 'staging'); diff --git a/app/Libraries/Constants.php b/app/Libraries/Constants.php index b3d9bbc7f371..118e514cf10b 100644 --- a/app/Libraries/Constants.php +++ b/app/Libraries/Constants.php @@ -1 +1,9 @@