From fd2f171082821efec799aaae6582160ae2021515 Mon Sep 17 00:00:00 2001 From: Tim Starling Date: Sat, 23 Oct 2004 10:37:18 +0000 Subject: [PATCH] turck only works as an apache module --- includes/DefaultSettings.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/DefaultSettings.php b/includes/DefaultSettings.php index 758863a367..3cac609b8f 100644 --- a/includes/DefaultSettings.php +++ b/includes/DefaultSettings.php @@ -283,7 +283,7 @@ $wgLinkCacheMemcached = false; # Not fully tested * * @global bool $wgUseTurckShm Enable or disabled Turck MMCache */ -$wgUseTurckShm = function_exists( 'mmcache_get' ); +$wgUseTurckShm = function_exists( 'mmcache_get' ) && php_sapi_name() == 'apache'; # Language settings -- 2.20.1