diff options
Diffstat (limited to 'forum/utils')
-rw-r--r-- | forum/utils/events.php | 2 |
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(); } } |