X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=img_auth.php;h=b26e6a5ec92f586e4c926a10749097d5a98c19db;hb=f63e30ae50fe9ea91cc609d6352d0069f375bb78;hp=22fd4014524b252ffeca73ed61e737f94101588d;hpb=d892c0f86fc046831fe51bfa82399ba63e8fa631;p=lhc%2Fweb%2Fwiklou.git diff --git a/img_auth.php b/img_auth.php index 22fd401452..b26e6a5ec9 100644 --- a/img_auth.php +++ b/img_auth.php @@ -46,11 +46,9 @@ $wgArticlePath = false; # Don't let a "/*" article path clober our action path $wgActionPaths = array( "$wgUploadPath/" ); wfImageAuthMain(); -wfLogProfilingData(); -// Commit and close up! -$factory = wfGetLBFactory(); -$factory->commitMasterChanges(); -$factory->shutdown(); + +$mediawiki = new MediaWiki(); +$mediawiki->doPostOutputShutdown( 'fast' ); function wfImageAuthMain() { global $wgImgAuthUrlPathMap;