X-Git-Url: http://git.cyclocoop.org/?a=blobdiff_plain;f=includes%2FWebStart.php;h=6e4fb09de021968167307f1301cbe28c7b7feab1;hb=934a53ea7ce5024889422355837357c892f6e306;hp=d063ce3d6e0ec421833432c1283ad061b75620b7;hpb=bdfe02223205923d923923dd420ba0dd863cd0fe;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/WebStart.php b/includes/WebStart.php index d063ce3d6e..6e4fb09de0 100644 --- a/includes/WebStart.php +++ b/includes/WebStart.php @@ -133,9 +133,7 @@ if ( ob_get_level() == 0 ) { ob_start( 'wfOutputHandler' ); } -if ( !defined( 'MW_NO_SETUP' ) ) { - require_once "$IP/includes/Setup.php"; -} +require_once "$IP/includes/Setup.php"; # Multiple DBs or commits might be used; keep the request as transactional as possible if ( isset( $_SERVER['REQUEST_METHOD'] ) && $_SERVER['REQUEST_METHOD'] === 'POST' ) {