|
|
|
@ -541,9 +541,6 @@ Class Common {
@@ -541,9 +541,6 @@ Class Common {
|
|
|
|
|
); |
|
|
|
|
$jsonData = json_encode($cacheData, JSON_UNESCAPED_SLASHES | JSON_UNESCAPED_UNICODE); |
|
|
|
|
$cacheDir = __DIR__ . '/../runtime/cache/'; |
|
|
|
|
if (!is_dir($cacheDir)) { |
|
|
|
|
mkdir($cacheDir, 0777, true); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
//子目录支持 |
|
|
|
|
if (!empty($cacheSubDir)) { |
|
|
|
@ -551,7 +548,7 @@ Class Common {
@@ -551,7 +548,7 @@ Class Common {
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
if (!is_dir($cacheDir)) { |
|
|
|
|
mkdir($cacheDir, 0755); |
|
|
|
|
mkdir($cacheDir, 0755, true); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
$cache_filename = "{$cacheDir}{$key}.json"; |
|
|
|
|