X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=thumb_handler.php;h=7afa9aa774f50635dd9bde5de1986d0de82c801b;hb=0ffd1299d92b46a6faf595b7a70b03f507a76e3b;hp=39a3e7c057e953a6428a1c9f9e322100bf904919;hpb=dcbe8e7dd3c4d54391d30add214e3c31ce381e34;p=lhc%2Fweb%2Fwiklou.git diff --git a/thumb_handler.php b/thumb_handler.php index 39a3e7c057..7afa9aa774 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';