Index: trunk/phase3/includes/HttpFunctions.php |
— | — | @@ -586,10 +586,12 @@ |
587 | 587 | $status = Status::newGood(); |
588 | 588 | // start the session (if necessary) |
589 | 589 | if( !$wgSessionsInMemcached ){ |
590 | | - if( @session_start() === false){ |
| 590 | + wfSuppressWarnings(); |
| 591 | + if( session_start() === false ){ |
591 | 592 | wfDebug( __METHOD__ . ' could not start session' ); |
592 | 593 | exit( 0 ); |
593 | 594 | } |
| 595 | + wfRestoreWarnings(); |
594 | 596 | } |
595 | 597 | $sd =& $_SESSION['wsDownload'][ $this->upload_session_key ]; |
596 | 598 | // check if the user canceled the request: |