This commit is contained in:
2020-08-31 02:08:23 +08:00
parent 2cca7bc9c3
commit 2c2903abfe
+1 -1
View File
@@ -145,7 +145,7 @@ abstract class BaseApplication extends Service
} }
if ($storage = Config::get('storage', false, 'storage')) { if ($storage = Config::get('storage', false, 'storage')) {
if (strpos($storage, APP_PATH) === false) { if (strpos($storage, APP_PATH) === false) {
$storage = realpath(APP_PATH . $storage); $storage = APP_PATH . $storage . '/';
} }
if (!is_dir($storage)) { if (!is_dir($storage)) {
mkdir($storage, 777); mkdir($storage, 777);