From: Tim Starling Date: Sat, 23 Oct 2004 10:37:18 +0000 (+0000) Subject: turck only works as an apache module X-Git-Tag: 1.5.0alpha1~1484 X-Git-Url: https://git.cyclocoop.org/%7B%24www_url%7Dadmin/compta/banques/%7B%7B%20url_for%28%27admin_users%27%29%20%7D%7D?a=commitdiff_plain;h=fd2f171082821efec799aaae6582160ae2021515;p=lhc%2Fweb%2Fwiklou.git turck only works as an apache module --- 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