X-Git-Url: http://git.roojs.org/?p=Pman.Base;a=blobdiff_plain;f=Pman%2FImages.php;fp=Pman%2FImages.php;h=d3e77adc81092575cc83554d11cebfe88fb88d75;hp=8eaaad87baad1106b0ca54f5d770e0f683035fe7;hb=02c398afe98f0974ea8aa810cdc0178077f45fac;hpb=90f436969e1174dbc2160640b3af41364717beea diff --git a/Pman/Images.php b/Pman/Images.php index 8eaaad8..d3e77ad 100644 --- a/Pman/Images.php +++ b/Pman/Images.php @@ -117,7 +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.")); }