diff options
-rw-r--r-- | simplecache/view.php | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/simplecache/view.php b/simplecache/view.php index da6f68777..3bb621036 100644 --- a/simplecache/view.php +++ b/simplecache/view.php @@ -50,7 +50,9 @@ if (file_exists($filename)) {
$contents = file_get_contents($filename);
header("Content-Length: " . strlen($contents));
- } else {
+ } else { + mysql_query("INSERT into {$CONFIG->dbprefix}datalists set name = 'simplecache_lastupdate', value = '0' ON DUPLICATE KEY UPDATE value='0'"); +
echo ''; exit;
}
} else {
|