X-Git-Url: https://git.heureux-cyclage.org/index.php?a=blobdiff_plain;f=img_auth.php;h=b26e6a5ec92f586e4c926a10749097d5a98c19db;hb=e43ccecd4c6e2f0940c25647ebad0915cbc09574;hp=22fd4014524b252ffeca73ed61e737f94101588d;hpb=fe5c31a59b1bdd01e6a84f373a4ca269ec9cb9bc;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;