$MACHE: add support for eaccelerator/memcached, change the $MCACHE calling convention a bit

- this effectively breaks memcached support for the moment
This commit is contained in:
martinlanghoff
2006-12-27 22:47:14 +00:00
parent 3530015874
commit 2142d4924f
3 changed files with 147 additions and 0 deletions
+3
View File
@@ -261,6 +261,9 @@ global $HTTPSPAGEREQUIRED;
if (!empty($CFG->memcached) && !empty($CFG->memcachedhosts)) {
init_memcached();
}
if (!empty($CFG->eaccelerator)) {
init_eaccelerator();
}
/// Set a default enrolment configuration (see bug 1598)
if (!isset($CFG->enrol)) {