From: Sam Reed Date: Mon, 25 Apr 2011 21:41:02 +0000 (+0000) Subject: Followup r86905, after saving GlobalFunctions.php X-Git-Tag: 1.31.0-rc.0~30552 X-Git-Url: http://git.cyclocoop.org/%24image?a=commitdiff_plain;h=392cf33b57fac8aacd12993652ce5e58c72343d0;p=lhc%2Fweb%2Fwiklou.git Followup r86905, after saving GlobalFunctions.php --- diff --git a/includes/GlobalFunctions.php b/includes/GlobalFunctions.php index f35cb5cb89..4a0b95172f 100644 --- a/includes/GlobalFunctions.php +++ b/includes/GlobalFunctions.php @@ -2946,7 +2946,8 @@ function wfSetupSession( $sessionId = false ) { $wgCookieSecure, $wgCookieHttpOnly, $wgSessionHandler; if( $wgSessionsInMemcached ) { if ( !defined( 'MW_COMPILED' ) ) { - require_once( 'MemcachedSessions.php' ); + global $IP; + require_once( "$IP/includes/cache/MemcachedSessions.php" ); } session_set_save_handler( 'memsess_open', 'memsess_close', 'memsess_read', 'memsess_write', 'memsess_destroy', 'memsess_gc' );