storage path
This commit is contained in:
1
craft
1
craft
@@ -20,6 +20,7 @@ if (class_exists('Dotenv\Dotenv') && file_exists(CRAFT_BASE_PATH . '/.env')) {
|
|||||||
// (see https://craftcms.com/docs/3.x/config/#php-constants)
|
// (see https://craftcms.com/docs/3.x/config/#php-constants)
|
||||||
define('CRAFT_ENVIRONMENT', getenv('ENVIRONMENT') ?: 'production');
|
define('CRAFT_ENVIRONMENT', getenv('ENVIRONMENT') ?: 'production');
|
||||||
define('CRAFT_LICENSE_KEY', getenv('CRAFT_LICENSE_KEY'));
|
define('CRAFT_LICENSE_KEY', getenv('CRAFT_LICENSE_KEY'));
|
||||||
|
define('CRAFT_STORAGE_PATH', getenv('CRAFT_STORAGE_PATH') ?: '../storage');
|
||||||
// ...
|
// ...
|
||||||
|
|
||||||
// Load and run Craft
|
// Load and run Craft
|
||||||
|
|||||||
@@ -19,6 +19,7 @@ if (class_exists('Dotenv\Dotenv') && file_exists(CRAFT_BASE_PATH . '/.env')) {
|
|||||||
// (see https://craftcms.com/docs/3.x/config/#php-constants)
|
// (see https://craftcms.com/docs/3.x/config/#php-constants)
|
||||||
define('CRAFT_ENVIRONMENT', getenv('ENVIRONMENT') ?: 'production');
|
define('CRAFT_ENVIRONMENT', getenv('ENVIRONMENT') ?: 'production');
|
||||||
define('CRAFT_LICENSE_KEY', getenv('CRAFT_LICENSE_KEY'));
|
define('CRAFT_LICENSE_KEY', getenv('CRAFT_LICENSE_KEY'));
|
||||||
|
define('CRAFT_STORAGE_PATH', getenv('CRAFT_STORAGE_PATH') ?: '../storage');
|
||||||
// ...
|
// ...
|
||||||
|
|
||||||
// Load and run Craft
|
// Load and run Craft
|
||||||
|
|||||||
Reference in New Issue
Block a user