mirror of
https://github.com/eapl-gemugami/gemini-php.git
synced 2025-02-07 20:44:24 +00:00
Add check for missing certificate file
This commit is contained in:
parent
701023bf2b
commit
a9ce2ae907
@ -35,6 +35,8 @@ class Gemini {
|
|||||||
die("{$this->log_file} is not writable.");
|
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) {
|
function parse_request($request) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user