diff --git a/public/include/classes/statscache.class.php b/public/include/classes/statscache.class.php index ff2f7da9..45dcba07 100644 --- a/public/include/classes/statscache.class.php +++ b/public/include/classes/statscache.class.php @@ -18,6 +18,9 @@ class StatsCache { if (! $config['memcache']['enabled'] ) { $this->debug->append("Not storing any values in memcache"); } else { + if (PHP_OS == 'WINNT') { + require_once(CLASS_DIR . '/memcached.class.php'); + } $this->cache = new Memcached(); } }