https://reisub.nsupdate.info/git
/
gemini-php.git
/
.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Add check for missing certificate file
[gemini-php.git/.git]
/
gemini.class.php
diff --git
a/gemini.class.php
b/gemini.class.php
index
233a6c7
..
99e37d3
100644
(file)
--- a/
gemini.class.php
+++ b/
gemini.class.php
@@
-35,6
+35,8
@@
class Gemini {
die("{$this->log_file} is not writable.");
}
}
+ if(!is_readable($this->certificate_file))
+ die("Certificate file {$this->certificate_file} not readable.");
}
function parse_request($request) {