projects
/
Pman.Core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
7c790a8
)
check acutal file
author
Alan
<alan@roojs.com>
Wed, 10 Nov 2021 03:34:57 +0000
(11:34 +0800)
committer
Alan
<alan@roojs.com>
Wed, 10 Nov 2021 03:34:57 +0000
(11:34 +0800)
DataObjects/Events.php
patch
|
blob
|
history
diff --git
a/DataObjects/Events.php
b/DataObjects/Events.php
index
a00fefe
..
a5f48db
100644
(file)
--- a/
DataObjects/Events.php
+++ b/
DataObjects/Events.php
@@
-646,11
+646,11
@@
class Pman_Core_DataObjects_Events extends DB_DataObject
$date = date('/Y/m/d/', strtotime($this->event_when));
$file = $logdir. $date. $this->id . ".json";
$date = date('/Y/m/d/', strtotime($this->event_when));
$file = $logdir. $date. $this->id . ".json";
- if (!file_exists(
dirname($file)
)) {
+ if (!file_exists(
$file
)) {
// try looking www-dir..
$file = $this->logDir('www-data'). $date. $this->id . ".json";
// try looking www-dir..
$file = $this->logDir('www-data'). $date. $this->id . ".json";
- if (!file_exists(
dirname($file)
)) {
+ if (!file_exists(
$file
)) {
return false;
}
}
return false;
}
}