9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
protected static function _getCacheDir()
{
$dir = CACHE_ROOT . '/static';
if (!file_exists($dir))
{
mkdir(CACHE_ROOT . '/static');
}
return CACHE_ROOT . '/static';
}
protected static function _getCachePath($id)
{
|
|
|
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
protected static function _getCacheDir()
{
$dir = CACHE_ROOT . '/static';
if (!file_exists($dir))
{
mkdir(CACHE_ROOT . '/static', 0777, true);
}
return CACHE_ROOT . '/static';
}
protected static function _getCachePath($id)
{
|