/system/core/cache.php
$cache_dir = ROOT_PATH . 'cache/';
if (!file_exists($cache_dir . 'index.html'))
{
file_put_contents($cache_dir . 'index.html', '');
}
$this->backendOptions = array(
'cache_dir' => realpath($cache_dir),
'hashed_directory_level' => 1,
'read_control_type' => 'adler32',
'file_name_prefix' => substr(md5(G_SECUKEY), 0, 6)
);
File.php(129): Zend_Cache_Backend_File->setCacheDir('/data/www/cache')
Message: cache_dir "/data/www/cache" is not writable
/data/www/为Docker映射项目根路径
阅读全文
收起全文