* (bug 12184) Exceptions now sent to stderr instead of stdout for command-line
[lhc/web/wiklou.git] / maintenance / dumpTextPass.php
index 827c493..703fa1e 100644 (file)
@@ -118,7 +118,8 @@ class TextPassDumper extends BackupDumper {
 
                # Notice messages will foul up your XML output even if they're
                # relatively harmless.
-//             ini_set( 'display_errors', false );
+               if( ini_get( 'display_errors' ) )
+                       ini_set( 'display_errors', 'stderr' );
 
                $this->initProgress( $this->history );