X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=thumb_handler.php;h=69bdddd8ca2a19e753e517f5aade884a858ff554;hb=f04d486e37692a9cd57a818f39467bd21c5c1d23;hp=39a3e7c057e953a6428a1c9f9e322100bf904919;hpb=dcbe8e7dd3c4d54391d30add214e3c31ce381e34;p=lhc%2Fweb%2Fwiklou.git diff --git a/thumb_handler.php b/thumb_handler.php index 39a3e7c057..69bdddd8ca 100644 --- a/thumb_handler.php +++ b/thumb_handler.php @@ -1,43 +1,29 @@ - -404 Not Found - -

Not Found

-

The requested URL $encUrl was not found on this server.

- -ENDTEXT; +define( 'THUMB_HANDLER', true ); - print $standard_404; -} +# Execute thumb.php, having set THUMB_HANDLER so that +# it knows to extract params from a thumbnail file URL. +require( __DIR__ . '/thumb.php' );