function name($key) { $filename = c::get('cache.encrypt') ? sha1($key) : $key; return sprintf("%s/%s", c::get('cache.dir'), $filename); }