1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-10 13:12:50 +01:00
invoiceninja/app/Constants.php
David Bomba 19a836b010
Scaffolding Auth (#2438)
Scaffolding Auth
2018-10-12 22:29:34 +11:00

20 lines
530 B
PHP

<?php
/**
* GLOBAL CONSTANTS ONLY
*
* Class constants to be assigned and accessed statically via
* their model ie, Invoice::STATUS_DEFAULT
*
*/
if (! defined('APP_NAME')) {
define('APP_NAME', env('APP_NAME', 'Invoice Ninja'));
define('APP_DOMAIN', env('APP_DOMAIN', 'invoiceninja.com'));
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');
}