From: Brion Vibber Date: Sun, 20 Mar 2005 09:02:27 +0000 (+0000) Subject: Add fatal errors for magic_quotes_runtime and magic_quotes_sybase php config settings. X-Git-Tag: 1.5.0alpha1~560 X-Git-Url: https://git.cyclocoop.org/%28%28?a=commitdiff_plain;h=66994c16e6d3a4ac3a2593c9a04e15aa04f54ac6;p=lhc%2Fweb%2Fwiklou.git Add fatal errors for magic_quotes_runtime and magic_quotes_sybase php config settings. Tone down the safe mode warning a bit, as we no longer have the temp file issue as bad --- diff --git a/config/index.php b/config/index.php index 9902381483..8e38a7f4ec 100644 --- a/config/index.php +++ b/config/index.php @@ -206,13 +206,33 @@ if( ini_get( "safe_mode" ) ) { ?>
  • Warning: PHP's safe mode is active! - You will likely have problems caused by this. You may need to make the - 'images' subdirectory writable or specify a TMP environment variable pointing to - a writable temporary directory owned by you, since safe mode breaks the system - temporary directory.
  • + You may have problems caused by this, particularly if using image uploads. +
  • Fatal: magic_quotes_runtime is active! + This option corrupts data input unpredictably; you cannot install or use + MediaWiki unless this option is disabled. +
  • Fatal: magic_quotes_sybase is active! + This option corrupts data input unpredictably; you cannot install or use + MediaWiki unless this option is disabled. +

    Cannot install wiki.

    " ); +} + $sapi = php_sapi_name(); $conf->prettyURLs = true; print "
  • PHP server API is $sapi; ";