From 701023bf2b094b53d0ee7b69010846df179c2329 Mon Sep 17 00:00:00 2001 From: seven Date: Mon, 28 Sep 2020 03:05:05 +0100 Subject: [PATCH] Fix bug when log file is missing before first run --- gemini.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gemini.class.php b/gemini.class.php index a6c5fdb..233a6c7 100644 --- a/gemini.class.php +++ b/gemini.class.php @@ -29,7 +29,7 @@ class Gemini { $this->default_host_dir .= "/"; if($this->logging) { if(!file_exists($this->log_file)) { - $this->log_to_file("New log file created"); + $this->log_to_file("Log created", null, null, null, null); } if(!is_writable($this->log_file)) { die("{$this->log_file} is not writable."); -- 2.20.1