Browse Source

Add check for missing certificate file

master
seven 4 years ago
parent
commit
a9ce2ae907
  1. 2
      gemini.class.php

2
gemini.class.php

@ -35,6 +35,8 @@ class Gemini { @@ -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) {

Loading…
Cancel
Save