From f8b6e3ec0e23a4df74af9f094c9d721e84a0680c Mon Sep 17 00:00:00 2001 From: Tim Starling Date: Sun, 13 Jun 2004 11:47:31 +0000 Subject: [PATCH] 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. --- config/index.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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. -- 2.20.1