diff --git a/config.template.php b/config.template.php index 40254c7..02c3c79 100644 --- a/config.template.php +++ b/config.template.php @@ -1,4 +1,5 @@ http = new p3k\HTTP(); - if(class_exists('Memcache')) { + if(Config::$cache && class_exists('Memcache')) { $this->mc = new Memcache(); $this->mc->addServer('127.0.0.1'); }