projects
/
gemini-php
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
701023b
)
Add check for missing certificate file
author
seven
<seven@cygni>
Mon, 28 Sep 2020 02:08:09 +0000
(
03:08
+0100)
committer
seven
<seven@cygni>
Mon, 28 Sep 2020 02:08:09 +0000
(
03:08
+0100)
gemini.class.php
patch
|
blob
|
history
diff --git
a/gemini.class.php
b/gemini.class.php
index 233a6c7ea564617ea7a528c6cf49bf1b543b9a2d..99e37d33a2ce09adb270ac9a207fa812b8f022cb 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) {