My fault was, I left the $_REQUEST script in.

<?php
/**
* TimThumb by Ben Gillbanks and Mark Maunder
* Based on work done by Tim McDaniels and Darren Hoyt
* http://code.google.com/p/timthumb/
*
* GNU General Public License, version 2
* http://www.gnu.org/licenses/old-licenses/gpl-2.0.html
*
* Examples and documentation available on the project homepage
* http://www.binarymoon.co.uk/projects/timthumb/
*
* $Rev$
*/
/**
* Bolt specific code: turn /100x200f/foo.jpg into $_GET parameters timthumb understands.
*
* options for zoomcrop:
* http://www.binarymoon.co.uk/demo/timthumb-zoom-crop/
* 'f' ('fit') -> zc=0
* 'c' (crop, default) -> zc=1
* 'b' (borders) -> zc=2
* 'r' (resize) -> zc=3
*/
// @see: http://stackoverflow.com/questions/6483912/php-serverredirect-url-vs-serverrequest-uri
if (!empty($_SERVER['REDIRECT_URL']) && (strpos($_SERVER['REDIRECT_URL'], 'timthumb.php') === false)) {
$requesturi = $_SERVER['REDIRECT_URL'];
} else {
$requesturi = $_SERVER['REQUEST_URI'];
}
Users browsing this forum: No registered users and 3 guests