summaryrefslogtreecommitdiff
path: root/forum/utils/events.php
diff options
context:
space:
mode:
Diffstat (limited to 'forum/utils/events.php')
-rw-r--r--forum/utils/events.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/forum/utils/events.php b/forum/utils/events.php
index 737c03c..9f521b8 100644
--- a/forum/utils/events.php
+++ b/forum/utils/events.php
@@ -134,7 +134,7 @@ class Events {
public function Events($file)
{
$this->file = $file;
- $this->read();
+ if(file_exists($file)) $this->read();
}
}