Update cache.php

This commit is contained in:
FusionPBX 2018-08-10 17:41:02 -06:00 committed by GitHub
parent 4a2dca8faa
commit 379d98e8f5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -109,6 +109,7 @@ class cache {
//cache method file
if ($_SESSION['cache']['method']['text'] == "file") {
//change the delimiter
$key = str_replace(":", ".", $key);
// connect to event socket
@ -132,7 +133,6 @@ class cache {
if (file_exists($_SESSION['cache']['location']['text'] . "/" . $key . ".tmp")) {
unlink($_SESSION['cache']['location']['text'] . "/" . $key . ".tmp");
}
}
// return result