dépôts
/
lhc
/
web
/
wiklou.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
mediawiki.template: Mustache should return jQuery object instead of array
[lhc/web/wiklou.git]
/
img_auth.php
diff --git
a/img_auth.php
b/img_auth.php
index
22fd401
..
b26e6a5
100644
(file)
--- 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();
$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;
function wfImageAuthMain() {
global $wgImgAuthUrlPathMap;