diff --git a/src/Core/Application.php b/src/Core/Application.php index ea257537..2c698a6f 100644 --- a/src/Core/Application.php +++ b/src/Core/Application.php @@ -580,6 +580,10 @@ public function configPath($path = '') */ public function storagePath($path = '') { + if ($this->storagePath) { + return $this->storagePath . ($path ? DIRECTORY_SEPARATOR . $path : $path); + } + if (defined('THEMOSIS_ROOT')) { return $this->rootPath('storage') . ($path ? DIRECTORY_SEPARATOR . $path : $path); }