X-Git-Url: http://git.cyclocoop.org/?a=blobdiff_plain;f=thumb.php;h=5be1ed07abefa2664b703cd6738bb0671ef18c2d;hb=5d1b19ed478271f4ef3204f4a388eb39effb275f;hp=f425d87e594489fddbf360bff25969818b04e2dc;hpb=e3b5ed406ec4d04b2744d9a377446ead8eb0ca50;p=lhc%2Fweb%2Fwiklou.git diff --git a/thumb.php b/thumb.php index f425d87e59..5be1ed07ab 100644 --- a/thumb.php +++ b/thumb.php @@ -25,6 +25,7 @@ use MediaWiki\Logger\LoggerFactory; use MediaWiki\MediaWikiServices; define( 'MW_NO_OUTPUT_COMPRESSION', 1 ); +define( 'MW_ENTRY_POINT', 'thumb' ); require __DIR__ . '/includes/WebStart.php'; // Don't use fancy MIME detection, just check the file extension for jpg/gif/png