projects
/
Pman.Core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
a18a8c7
)
Images.php
author
Edward
<edward@roojs.com>
Tue, 21 Aug 2018 11:27:39 +0000
(19:27 +0800)
committer
Edward
<edward@roojs.com>
Tue, 21 Aug 2018 11:27:39 +0000
(19:27 +0800)
Images.php
patch
|
blob
|
history
diff --git
a/Images.php
b/Images.php
index
7cce4e6
..
b671abf
100644
(file)
--- 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'])) {
$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'])) {
}
// 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));
$filesJ = json_decode(file_get_contents($file));
- print_r($filesJ);exit;
-
foreach($filesJ->FILES as $k=>$f){
if ($f->tmp_name != $bits[2]) {
continue;
foreach($filesJ->FILES as $k=>$f){
if ($f->tmp_name != $bits[2]) {
continue;