Hello,
I spent more than 4 hours looking in my 4images gallery for the code who redirect the users to the homepage when you use an image_id which does not exist.
For example:
/details.php?image_id=9000000000
First I thought this code do this action:
if (!$image_id) {
redirect($url);
}
but when I deleted it, I still be redirected to the homepage.
Any Idea?