mirror of
https://bitbucket.org/jsuto/piler.git
synced 2024-12-24 19:00:11 +01:00
added memcached support to util/daily-report.php
This commit is contained in:
parent
f6dd906171
commit
ebbbb77fb6
@ -33,6 +33,16 @@ extract($language->data);
|
||||
Registry::set('admin_user', 1);
|
||||
|
||||
|
||||
if(MEMCACHED_ENABLED) {
|
||||
$memcache = new Memcache();
|
||||
foreach ($memcached_servers as $m){
|
||||
$memcache->addServer($m[0], $m[1]);
|
||||
}
|
||||
|
||||
Registry::set('memcache', $memcache);
|
||||
}
|
||||
|
||||
|
||||
Registry::set('health_smtp_servers', $health_smtp_servers);
|
||||
Registry::set('partitions_to_monitor', $partitions_to_monitor);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user