X-Git-Url: http://git.heureux-cyclage.org/?a=blobdiff_plain;f=thumb.php;h=3d8612d9726988ec17bbb21029b38f2e581905c6;hb=716234c6c396a184b215a1639a2dbeffd20584ec;hp=d8ed246f9653ef42bd759b504880196b8693742e;hpb=c62aa0a59bcc301e159ee547de782b8fa560ce35;p=lhc%2Fweb%2Fwiklou.git diff --git a/thumb.php b/thumb.php index d8ed246f96..3d8612d972 100644 --- a/thumb.php +++ b/thumb.php @@ -32,7 +32,7 @@ if ( defined( 'THUMB_HANDLER' ) ) { wfThumbHandle404(); } else { // Called directly, use $_GET params - wfThumbHandleRequest(); + wfStreamThumb( $_GET ); } wfLogProfilingData(); @@ -43,19 +43,6 @@ $factory->shutdown(); //-------------------------------------------------------------------------- -/** - * Handle a thumbnail request via query parameters - * - * @return void - */ -function wfThumbHandleRequest() { - $params = get_magic_quotes_gpc() - ? array_map( 'stripslashes', $_GET ) - : $_GET; - - wfStreamThumb( $params ); // stream the thumbnail -} - /** * Handle a thumbnail request via thumbnail file URL *