X-Git-Url: http://git.cyclocoop.org/?a=blobdiff_plain;f=thumb.php;h=2bb6065e3e839f712b1cdcb21c8004286d63dcde;hb=6046a49b62c1d01f0117d9c5543795c236c4df11;hp=bedf17151020cc6d276f98e74e4ffeed6cd0a988;hpb=31f66267ae9763dcecd44c1e749fe0e91b5a3a01;p=lhc%2Fweb%2Fwiklou.git diff --git a/thumb.php b/thumb.php index bedf171510..2bb6065e3e 100644 --- a/thumb.php +++ b/thumb.php @@ -25,7 +25,11 @@ use MediaWiki\Logger\LoggerFactory; use MediaWiki\MediaWikiServices; define( 'MW_NO_OUTPUT_COMPRESSION', 1 ); -define( 'MW_ENTRY_POINT', 'thumb' ); +// T241340: thumb.php is included by thumb_handler.php which already defined +// MW_ENTRY_POINT to 'thumb_handler' +if ( !defined( 'MW_ENTRY_POINT' ) ) { + 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