projects
/
gemini-php
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
61b1dff
)
Fix bug when log file is missing before first run
author
seven
<seven@cygni>
Mon, 28 Sep 2020 02:05:05 +0000
(
03:05
+0100)
committer
seven
<seven@cygni>
Mon, 28 Sep 2020 02:05:05 +0000
(
03:05
+0100)
gemini.class.php
patch
|
blob
|
history
diff --git
a/gemini.class.php
b/gemini.class.php
index a6c5fdbbbd0bb1b319f744a162eb753afeb9b0c3..233a6c7ea564617ea7a528c6cf49bf1b543b9a2d 100644
(file)
--- 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.");