选择语言 :

 Driver_Cache_Driver_File::get_filename_by_key

根据KEY获取文件路径

null Driver_Cache_Driver_File::get_filename_by_key( string $key )

参数列表

参数 类型 描述 默认值
$key string $key
File: ./drivers/cache/file/file.class.php
protected function get_filename_by_key($key)
{
    return $this->dir . $this->prefix . 'cache_file_' . substr(preg_replace('#[^a-z0-9_\-]*#i', '', $key), 0, 50) . '_' . md5($key . '_&@c)ac%he_file');
}