diff --git a/index.php b/index.php index 30e9948..ab951ee 100644 --- a/index.php +++ b/index.php @@ -66,7 +66,7 @@ \PHaiku\PHaiku::$basedir = __DIR__; //define the version -\PHaiku\PHaiku::$version = "0.83.40.14"; +\PHaiku\PHaiku::$version = "0.84.40.14"; //set the routes \PHaiku\PHaiku::setRoutes($di); diff --git a/src/PHaiku/PHaiku.php b/src/PHaiku/PHaiku.php index b348950..4c548a3 100644 --- a/src/PHaiku/PHaiku.php +++ b/src/PHaiku/PHaiku.php @@ -391,7 +391,7 @@ private function getBrowserLanguage() { } protected function getCache($routename) { - if($this->nocache) return; + if($this->nocache) return false; $this->cachekey = str_replace("/", ".", $routename.$this->env['PATH_INFO']); if($this->cache->has($this->cachekey)) { $this->cached = TRUE;