From: Edward Date: Tue, 21 Aug 2018 11:27:39 +0000 (+0800) Subject: Images.php X-Git-Url: http://git.roojs.org/?p=Pman.Core;a=commitdiff_plain;h=2d3c2cc85cceac81cdf1dee0185cf28b2bf7df41 Images.php --- diff --git a/Images.php b/Images.php index 7cce4e6b..b671abfd 100644 --- a/Images.php +++ b/Images.php @@ -540,7 +540,7 @@ class Pman_Core_Images extends Pman $ff = HTML_FlexyFramework::get(); if (!empty($ff->Pman['storedir'])) { - $file = $ff->Pman['storedir']. '/'. $user. date('/Y/m/d/',strtotime($ev->event_when)). $ev->id . ".json"; + $file = $ff->Pman['storedir']. '/Events/'. $user. date('/Y/m/d/',strtotime($ev->event_when)). $ev->id . ".json"; } // DEPRICATED... if (!empty($ff->Pman['event_log_dir'])) { @@ -553,8 +553,6 @@ class Pman_Core_Images extends Pman $filesJ = json_decode(file_get_contents($file)); - print_r($filesJ);exit; - foreach($filesJ->FILES as $k=>$f){ if ($f->tmp_name != $bits[2]) { continue;