* (bug 3782) Throw fatal installation warning if mbstring.func_overload on.
Why do people invent these crazy options that change language semantics?
This commit is contained in:
parent
d770acfb9f
commit
c7f363f886
2 changed files with 11 additions and 0 deletions
|
|
@ -183,6 +183,9 @@ fully support the editing toolbar, but was found to be too confusing.
|
|||
* MySQL 5.0 strict mode fix for moving unwatched pages
|
||||
* (bug 3816) Throw edit conflict instead of fatal error when a page is
|
||||
moved or deleted during section edit
|
||||
* (bug 3782) Throw fatal installation warning if mbstring.func_overload on.
|
||||
Why do people invent these crazy options that change language semantics?
|
||||
|
||||
|
||||
=== Caveats ===
|
||||
|
||||
|
|
|
|||
|
|
@ -227,6 +227,14 @@ if( ini_get( "magic_quotes_sybase" ) ) {
|
|||
<?php
|
||||
}
|
||||
|
||||
if( ini_get( "mbstring.func_overload" ) ) {
|
||||
$fatal = true;
|
||||
?><li class='error'><strong>Fatal: <a href='http://www.php.net/manual/en/ref.mbstring.php#mbstring.overload'>mbstring.func_overload</a> is active!</strong>
|
||||
This option causes errors and may corrupt data unpredictably;
|
||||
you cannot install or use MediaWiki unless this option is disabled.
|
||||
<?php
|
||||
}
|
||||
|
||||
if( $fatal ) {
|
||||
dieout( "</ul><p>Cannot install Mediawiki.</p>" );
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue