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

index 3bff2e3..6f45102 100644 (file)
@@ -218,9 +218,8 @@ class Pman_Core_Images extends Pman
     }
     
     function imgErr($reason,$path) {
-        header('Location: ' . $this->rootURL . '/Pman/templates/images/file-broken.png?reason=' .
-            urlencode($reason));
-        echo $path;
+        //header('Location: ' . $this->rootURL . '/Pman/templates/images/file-broken.png?reason=' . urlencode($reason));
+        echo $reason . ':' . $path;
         exit;
     }