mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-06-23 20:00:33 -04:00
3 constants taken from config
This commit is contained in:
parent
30c65f4a23
commit
3273eea39f
@ -136,9 +136,9 @@ Route::group(array('prefix' => 'api/v1', 'before' => 'auth.basic'), function()
|
|||||||
Route::post('api/hooks', 'IntegrationController@subscribe');
|
Route::post('api/hooks', 'IntegrationController@subscribe');
|
||||||
});
|
});
|
||||||
|
|
||||||
define('CONTACT_EMAIL', 'contact@invoiceninja.com');
|
define('CONTACT_EMAIL', Config::get('mail.from.address'));
|
||||||
define('CONTACT_NAME', 'Invoice Ninja');
|
define('CONTACT_NAME', Config::get('mail.from.name'));
|
||||||
define('SITE_URL', 'https://www.invoiceninja.com');
|
define('SITE_URL', Config::get('app.url'));
|
||||||
|
|
||||||
define('ENV_DEVELOPMENT', 'local');
|
define('ENV_DEVELOPMENT', 'local');
|
||||||
define('ENV_STAGING', 'staging');
|
define('ENV_STAGING', 'staging');
|
||||||
|
Loading…
x
Reference in New Issue
Block a user