dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fc4cc14
)
Second part of set_include_path patch
author
Antoine Musso
<hashar@users.mediawiki.org>
Tue, 20 Dec 2005 19:31:34 +0000
(19:31 +0000)
committer
Antoine Musso
<hashar@users.mediawiki.org>
Tue, 20 Dec 2005 19:31:34 +0000
(19:31 +0000)
config/index.php
patch
|
blob
|
history
diff --git
a/config/index.php
b/config/index.php
index
17a3c72
..
043c8d1
100644
(file)
--- a/
config/index.php
+++ b/
config/index.php
@@
-1144,7
+1144,9
@@
function writeLocalSettings( $conf ) {
# file, not there.
\$IP = \"{$slconf['IP']}\";
-ini_set( \"include_path\", \".$sep\$IP$sep\$IP/includes$sep\$IP/languages\" );
+if( !ini_set( \"include_path\", \".$sep\$IP$sep\$IP/includes$sep\$IP/languages\" ) ) {
+ set_include_path( \".$sep\$IP$sep\$IP/includes$sep\$IP/languages\" );
+}
require_once( \"includes/DefaultSettings.php\" );
# If PHP's memory limit is very low, some operations may fail.