From 9b136e4795106abdd69705a0c96a5894e5288475 Mon Sep 17 00:00:00 2001 From: Rob Church Date: Fri, 5 May 2006 10:29:23 +0000 Subject: [PATCH] Changed default LocalSettings.php to append the previous include path when setting it --- RELEASE-NOTES | 1 + config/index.php | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) 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\" ); -- 2.20.1