From: Alan Date: Mon, 27 Mar 2023 04:52:00 +0000 (+0800) Subject: Images.php X-Git-Url: http://git.roojs.org/?a=commitdiff_plain;h=c1b505a513006b7233a856733ddeaadebd7ab55a;p=Pman.Core Images.php --- diff --git a/Images.php b/Images.php index 65712331..fc1294d1 100644 --- a/Images.php +++ b/Images.php @@ -218,7 +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)); + header('Location: ' . $this->rootURL . '/Pman/templates/images/file-broken.png?reason=' . urlencode($reason) ); + header('X-Error: ' . $reason . ':' . $path); echo $reason . ':' . $path; exit; }