Update cache.php
This commit is contained in:
@@ -109,6 +109,7 @@ class cache {
|
|||||||
|
|
||||||
//cache method file
|
//cache method file
|
||||||
if ($_SESSION['cache']['method']['text'] == "file") {
|
if ($_SESSION['cache']['method']['text'] == "file") {
|
||||||
|
//change the delimiter
|
||||||
$key = str_replace(":", ".", $key);
|
$key = str_replace(":", ".", $key);
|
||||||
|
|
||||||
// connect to event socket
|
// connect to event socket
|
||||||
@@ -132,7 +133,6 @@ class cache {
|
|||||||
if (file_exists($_SESSION['cache']['location']['text'] . "/" . $key . ".tmp")) {
|
if (file_exists($_SESSION['cache']['location']['text'] . "/" . $key . ".tmp")) {
|
||||||
unlink($_SESSION['cache']['location']['text'] . "/" . $key . ".tmp");
|
unlink($_SESSION['cache']['location']['text'] . "/" . $key . ".tmp");
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// return result
|
// return result
|
||||||
|
|||||||
Reference in New Issue
Block a user