diff --git a/app/Config/Constants.php b/app/Config/Constants.php index 3f7cef1b8c6f..b25f71cdcc26 100644 --- a/app/Config/Constants.php +++ b/app/Config/Constants.php @@ -11,7 +11,7 @@ // NOTE: changing this will require manually modifying the // existing namespaces of App\* namespaced-classes. // -define('APP_NAMESPACE', 'App'); +defined('APP_NAMESPACE') || define('APP_NAMESPACE', 'App'); /* |-------------------------------------------------------------------------- @@ -21,7 +21,7 @@ | The path that Composer's autoload file is expected to live. By default, | the vendor folder is in the Root directory, but you can customize that here. */ -define('COMPOSER_PATH', ROOTPATH . 'vendor/autoload.php'); +defined('COMPOSER_PATH') || define('COMPOSER_PATH', ROOTPATH . 'vendor/autoload.php'); /* |--------------------------------------------------------------------------