diff options
Diffstat (limited to 'it_cache.class')
-rw-r--r-- | it_cache.class | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/it_cache.class b/it_cache.class index 1e6df1e..08bc8a5 100644 --- a/it_cache.class +++ b/it_cache.class @@ -101,7 +101,7 @@ static function _get_memcache($p) { $memcache = new Memcached; - foreach (array_filter(it::replace(array('[#\s].*' => ""), it::file($p['hostsfile']))) as $host) + foreach (array_filter(it::replace(array('[#\s].*' => ""), file($p['hostsfile']))) as $host) $reachable += intval(@$memcache->addServer($host, 11211)); $GLOBALS[$memcache_id] = $reachable ? $memcache : false; |