X-Git-Url: http://git.roojs.org/?p=Pman.Base;a=blobdiff_plain;f=Pman%2FImages.php;fp=Pman%2FImages.php;h=8eaaad87baad1106b0ca54f5d770e0f683035fe7;hp=02f5b3f57eaa081be0108442d87f43b4ee413004;hb=90f436969e1174dbc2160640b3af41364717beea;hpb=1289a838196e6a6f5a4df4344bf528a77ace48e2 diff --git a/Pman/Images.php b/Pman/Images.php index 02f5b3f..8eaaad8 100644 --- a/Pman/Images.php +++ b/Pman/Images.php @@ -117,6 +117,7 @@ class Pman_Images extends Pman $img = DB_DataObjecT::factory('Images'); if (!$id || !$img->get($id)) { + print_r($id);exit; header('Location: ' . $this->rootURL . '/Pman/templates/images/file-broken.png?reason=' . urlencode("image has been removed or deleted.")); }