projects
/
s9y.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4185fc4
)
Fix call to apache_get_modules() even if it didn't exist
author
tomsommer
<tomsommer>
Mon, 18 Apr 2005 14:55:48 +0000
(14:55 +0000)
committer
tomsommer
<tomsommer>
Mon, 18 Apr 2005 14:55:48 +0000
(14:55 +0000)
include/functions_config.inc.php
patch
|
blob
|
history
diff --git
a/include/functions_config.inc.php
b/include/functions_config.inc.php
index 7d353d272352d6631415cd20efb0f78b1cd3a676..0d55360e01e222757d6de881d4dfedb092379b42 100644
(file)
--- 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;