Created
March 11, 2022 15:05
-
-
Save timkelty/7d008be1769cf7795661f54188e595fc to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
if (!getenv('FS_HANDLE') && !getenv('S3_BUCKET')) { | |
putenv('FS_HANDLE=imagesLocal'); | |
$_ENV['FS_HANDLE'] = 'imagesLocal'; | |
$_SERVER['FS_HANDLE'] = 'imagesLocal'; | |
// No FS_HANDLE key | |
// getenv(); | |
// 👍 | |
// getenv('FS_HANDLE'); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment