diff --git a/corp/util/Cache.php b/corp/util/Cache.php index ebbf6cb..42882fa 100755 --- a/corp/util/Cache.php +++ b/corp/util/Cache.php @@ -130,7 +130,7 @@ function set($key, $value) } $item['create_time'] = time(); $data["$key"] = $item; - $this->set_file("filecache.php",json_encode($data)); + $this->set_file(DIR_ROOT ."filecache.php",json_encode($data)); } } @@ -172,4 +172,4 @@ function set_file($filename, $content) { fwrite($fp, "" . $content); fclose($fp); } -} \ No newline at end of file +}