From: Rob Church Date: Fri, 5 May 2006 10:29:23 +0000 (+0000) Subject: Changed default LocalSettings.php to append the previous include path when setting it X-Git-Tag: 1.31.0-rc.0~57240 X-Git-Url: http://git.cyclocoop.org/%28?a=commitdiff_plain;h=9b136e4795106abdd69705a0c96a5894e5288475;p=lhc%2Fweb%2Fwiklou.git Changed default LocalSettings.php to append the previous include path when setting it --- diff --git a/RELEASE-NOTES b/RELEASE-NOTES index f3f0fe7a9b..2be3bd3c61 100644 --- a/RELEASE-NOTES +++ b/RELEASE-NOTES @@ -207,6 +207,7 @@ it from source control: http://www.mediawiki.org/wiki/Download_from_SVN * Introduce $wgAllowTitlesInSVG, which allows the attribute in uploaded files bearing the image/svg MIME type. Disabled by default due to the vast majority of web servers being hideously misconfigured. See DefaultSettings.php for more details. +* Changed default LocalSettings.php to append the previous include path when setting it == Compatibility == diff --git a/config/index.php b/config/index.php index 6b20948a35..bebff030e7 100644 --- a/config/index.php +++ b/config/index.php @@ -1182,7 +1182,7 @@ if( defined( 'MW_INSTALL_PATH' ) ) { } \$path = array( \$IP, \"\$IP/includes\", \"\$IP/languages\" ); -set_include_path( implode( PATH_SEPARATOR, \$path ) ); +set_include_path( implode( PATH_SEPARATOR, \$path ) . PATH_SEPARATOR . get_include_path() ); require_once( \"includes/DefaultSettings.php\" );