projects
/
Pman.Core
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
check acutal file
[Pman.Core]
/
DataObjects
/
Events.php
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;
}
}