Installer spewing warnings due to disable_functions
authorChad Horohoe <demon@users.mediawiki.org>
Sun, 20 Sep 2009 08:47:12 +0000 (08:47 +0000)
committerChad Horohoe <demon@users.mediawiki.org>
Sun, 20 Sep 2009 08:47:12 +0000 (08:47 +0000)
RELEASE-NOTES
config/Installer.php

index e576ac2..85681c9 100644 (file)
@@ -510,6 +510,8 @@ it from source control: http://www.mediawiki.org/wiki/Download_from_SVN
   assume the user object is equal to the current-user object ($wgUser)
 * (bug 20517) Cancel link from edit page now returns to the old version when
   editing an old version
+* (bug 16902) Installer no longer shows warnings when exec() has been disabled 
+  by disable_functions
 
 == API changes in 1.16 ==
 
index 8689b98..0a3c523 100644 (file)
@@ -2200,7 +2200,7 @@ function printListItem( $item ) {
 function getShellLocale( $wikiLang ) {
        # Give up now if we're in safe mode or open_basedir
        # It's theoretically possible but tricky to work with
-       if ( wfIniGetBool( "safe_mode" ) || ini_get( 'open_basedir' ) ) {
+       if ( wfIniGetBool( "safe_mode" ) || ini_get( 'open_basedir' ) || !function_exists('exec') ) {
                return false;
        }