X-Git-Url: http://git.roojs.org/?p=Pman.Core;a=blobdiff_plain;f=DataObjects%2FEvents.php;fp=DataObjects%2FEvents.php;h=2da22c6d955103ed48eae021461c9ec24e7cc904;hp=e8682ac8f2cadde618b6512710cb4b1c744fc85e;hb=e22d368485d80797a44d045717dd5f5b0879ac30;hpb=720acdd7e9c141acdd9b22d16853d36286c78d1f diff --git a/DataObjects/Events.php b/DataObjects/Events.php index e8682ac8..2da22c6d 100644 --- a/DataObjects/Events.php +++ b/DataObjects/Events.php @@ -516,6 +516,7 @@ class Pman_Core_DataObjects_Events extends DB_DataObject if (!file_exists(dirname($file))) { @mkdir(dirname($file),0700,true); // this might fail if it does not have correct permissions.. + clearstatcache(); if (!file_exists(dirname($file))) { //print_r($this); die("Events:: writeEventLog: could not create $file - permissons are not correct\n"); // fatal, otherwise we loop!?