PugMoRe_Mageploy_Model_Io_File::createStoragePath PHP Method

createStoragePath() protected method

protected createStoragePath ( )
    protected function createStoragePath()
    {
        $storagePath = is_dir($this->_helper->getStoragePath());
        if (!$storagePath) {
            $storagePath = mkdir($this->_helper->getStoragePath(), 0755, true);
            if (false === $storagePath) {
                Mage::logException(new Exception(sprintf("Can't create folder '%s'", $this->_helper->getStoragePath())));
            }
        }
        return $storagePath;
    }