Images.php
authorAlan <alan@roojs.com>
Mon, 27 Mar 2023 04:46:12 +0000 (12:46 +0800)
committerAlan <alan@roojs.com>
Mon, 27 Mar 2023 04:46:12 +0000 (12:46 +0800)
Images.php

index 146c533..3bff2e3 100644 (file)
@@ -288,10 +288,7 @@ class Pman_Core_Images extends Pman
         require_once 'File/Convert.php';
         if (!file_exists($img->getStoreName())) {
             
-            header('Location: ' . $this->rootURL . '/Pman/templates/images/file-broken.png?reason=missing-image-see-original-response');
-            echo "Original file was missing : " . $img->getStoreName();
-            exit;
-          
+            $this->imgError("serve = missing-image");
              
         }
 //        print_r($img);exit;