admin/home.php: disable the error message about root CA
This commit is contained in:
parent
f58998a2c6
commit
05fa4128b1
2 changed files with 1 additions and 5 deletions
|
@ -6,9 +6,7 @@ if(!defined('ONYX')) exit;
|
|||
$ca_file = ONYX . '../misc/fic_pki/cacert.crt';
|
||||
|
||||
//TODO check permission ?
|
||||
if (!file_exists($ca_file))
|
||||
erreur("Can not to find the root certificate");
|
||||
else
|
||||
if (file_exists($ca_file))
|
||||
{
|
||||
$data = openssl_x509_parse(file_get_contents(ONYX . '../misc/fic_pki/cacert.crt'));
|
||||
$template->assign("cert", $data);
|
||||
|
|
Reference in a new issue