src/Core/Application.php
public function storagePath($path = '')
    {
        if (defined('THEMOSIS_ROOT')) {
            return $this->rootPath('storage').($path ? DIRECTORY_SEPARATOR.$path : $path);
        }

        return $this->contentPath('storage').($path ? DIRECTORY_SEPARATOR.$path : $path);
    }
public function storagePath($path = '')
    {
        if (defined('THEMOSIS_ROOT')) {
            return $this->rootPath('storage').($path ? DIRECTORY_SEPARATOR.$path : $path);
        }

        return $this->contentPath('storage').($path ? DIRECTORY_SEPARATOR.$path : $path);
    }
public function storagePath ( $ path = '' ) { if ( defined ( 'THEMOSIS_ROOT' ) ) { return $ this -> rootPath ( 'storage' ) . ( $ path ? DIRECTORY_SEPARATOR . $ path : $ path ) ; } return $ this -> contentPath ( 'storage' ) . ( $ path ? DIRECTORY_SEPARATOR . $ path : $ path ) ; }
Get the storage directory path.

@param string $path

@return string
Get the storage directory path .