From: Tim Starling Date: Sun, 13 Jun 2004 11:47:31 +0000 (+0000) Subject: Changed include path in response to report on #mediawiki. Problem was an aborted... X-Git-Tag: 1.5.0alpha1~2860 X-Git-Url: https://git.cyclocoop.org/%7B%24www_url%7Dadmin/compta/banques/ajouter.php?a=commitdiff_plain;h=f8b6e3ec0e23a4df74af9f094c9d721e84a0680c;p=lhc%2Fweb%2Fwiklou.git Changed include path in response to report on #mediawiki. Problem was an aborted install due to PEAR.php being found outside the open_basedir directory. --- diff --git a/config/index.php b/config/index.php index 03f66d57ee..0d1381d4a6 100644 --- a/config/index.php +++ b/config/index.php @@ -758,7 +758,7 @@ function writeLocalSettings( $conf ) { # recreate them later. \$IP = \"{$slconf['IP']}\"; -ini_set( \"include_path\", \"\$IP/includes$sep\$IP/languages$sep\" . ini_get(\"include_path\") ); +ini_set( \"include_path\", \".$sep\$IP$sep\$IP/includes$sep\$IP/languages\" ); include_once( \"DefaultSettings.php\" ); # If PHP's memory limit is very low, some operations may fail.