From f20ce2a4005eca2a20ae64b57cf4c357967cc35c Mon Sep 17 00:00:00 2001 From: Tommy Parnell Date: Thu, 8 Jul 2021 18:40:35 -0400 Subject: [PATCH] storage path --- craft | 1 + web/index.php | 1 + 2 files changed, 2 insertions(+) diff --git a/craft b/craft index e5d4595..65b7c6a 100755 --- a/craft +++ b/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) define('CRAFT_ENVIRONMENT', getenv('ENVIRONMENT') ?: 'production'); define('CRAFT_LICENSE_KEY', getenv('CRAFT_LICENSE_KEY')); +define('CRAFT_STORAGE_PATH', getenv('CRAFT_STORAGE_PATH') ?: '../storage'); // ... // Load and run Craft diff --git a/web/index.php b/web/index.php index cd78df4..6956b67 100644 --- a/web/index.php +++ b/web/index.php @@ -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) define('CRAFT_ENVIRONMENT', getenv('ENVIRONMENT') ?: 'production'); define('CRAFT_LICENSE_KEY', getenv('CRAFT_LICENSE_KEY')); +define('CRAFT_STORAGE_PATH', getenv('CRAFT_STORAGE_PATH') ?: '../storage'); // ... // Load and run Craft