From 527ea5c42ee045fd782536fea4ff22953b106138 Mon Sep 17 00:00:00 2001 From: tomsommer Date: Mon, 18 Apr 2005 14:55:48 +0000 Subject: [PATCH] Fix call to apache_get_modules() even if it didn't exist --- include/functions_config.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/functions_config.inc.php b/include/functions_config.inc.php index 7d353d2..0d55360 100644 --- a/include/functions_config.inc.php +++ b/include/functions_config.inc.php @@ -430,7 +430,7 @@ function serendipity_probeInstallation($item) { $res = array(); $res['none'] = 'Disable URL Rewriting'; $res['errordocs'] = 'Use Apache errorhandling'; - if( !function_exists('apache_get_modules') || in_array('mod_rewrite', apache_get_modules()) ) { + if( function_exists('apache_get_modules') && in_array('mod_rewrite', apache_get_modules()) ) { $res['rewrite'] = 'Use Apache mod_rewrite'; } break; -- 2.39.5