Commit b84e6070 authored by lyricnz's avatar lyricnz
Browse files

Implement a few dummy functions to keep memcache.inc happy

parent d97546eb
......@@ -7,6 +7,15 @@
* on localhost:11211 and localhost:11212
*/
// dummy implementations to keep memcache.inc happy
define('WATCHDOG_ERROR', 2);
function variable_get($name, $default) {
return $default;
}
function watchdog($type, $message, $severity = WATCHDOG_NOTICE, $link = NULL) {
}
include_once './includes/memcache.inc';
print "<h1>Memcache configuration details</h1>";
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment