From 9d3028745fbffc291390686fce1cde18b7218b35 Mon Sep 17 00:00:00 2001 From: Chris Date: Tue, 20 Aug 2013 14:30:27 +0800 Subject: [PATCH] Images.php --- Images.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Images.php b/Images.php index 71915bd6..952ab2a7 100644 --- a/Images.php +++ b/Images.php @@ -237,10 +237,10 @@ class Pman_Core_Images extends Pman function serve($img) { $this->sessionState(0); // turn off session... - locking... - print_r($img);exit; + require_once 'File/Convert.php'; if (!file_exists($img->getStoreName())) { - //print_r($img);exit; + print_r($img);exit; header('Location: ' . $this->rootURL . '/Pman/templates/images/file-broken.png?reason=' . urlencode("Original file was missing : " . $img->getStoreName())); -- 2.39.2