*/
protected $envChecks = array(
'envCheckDB',
- 'envCheckRegisterGlobals',
'envCheckBrokenXML',
- 'envCheckMagicQuotes',
'envCheckMbstring',
'envCheckSafeMode',
'envCheckXML',
return true;
}
- /**
- * Environment check for register_globals.
- * Prevent installation if enabled
- * @return bool
- */
- protected function envCheckRegisterGlobals() {
- if ( wfIniGetBool( 'register_globals' ) ) {
- $this->showMessage( 'config-register-globals-error' );
- return false;
- }
-
- return true;
- }
-
/**
* Some versions of libxml+PHP break < and > encoding horribly
* @return bool
return true;
}
- /**
- * Environment check for magic_quotes_(gpc|runtime|sybase).
- * @return bool
- */
- protected function envCheckMagicQuotes() {
- $status = true;
- foreach ( array( 'gpc', 'runtime', 'sybase' ) as $magicJunk ) {
- if ( wfIniGetBool( "magic_quotes_$magicJunk" ) ) {
- $this->showError( "config-magic-quotes-$magicJunk" );
- $status = false;
- }
- }
-
- return $status;
- }
-
/**
* Environment check for mbstring.func_overload.
* @return bool