protected function _createDirectoriesFor($path)
    {
        if (!is_dir($path)) {
            $oldUmask = umask(0);
            if ( !@mkdir($path, $this->_octdec($this->_options['cache_directory_umask']), true)) {
                $lastErr = error_get_last();
                umask($oldUmask);
                Zend_Cache::throwException("Can't create directory: {$lastErr['message']}");
            }
            umask($oldUmask);
        }
    }
protected function _createDirectoriesFor($path)
    {
        if (!is_dir($path)) {
            $oldUmask = umask(0);
            if ( !@mkdir($path, $this->_octdec($this->_options['cache_directory_umask']), true)) {
                $lastErr = error_get_last();
                umask($oldUmask);
                Zend_Cache::throwException("Can't create directory: {$lastErr['message']}");
            }
            umask($oldUmask);
        }
    }
protected function _createDirectoriesFor ( $ path ) { if ( ! is_dir ( $ path ) ) { $ oldUmask = umask ( 0 ) ; if ( ! @ mkdir ( $ path , $ this -> _octdec ( $ this -> _options [ 'cache_directory_umask' ] ) , true ) ) { $ lastErr = error_get_last ( ) ; umask ( $ oldUmask ) ; Zend_Cache :: throwException ( "Can't create directory: {$lastErr['message']}" ) ; } umask ( $ oldUmask ) ; } }
Recursively create the directories needed to write the static file
Recursively create the directories needed to write the static file