Replace Function getSSL() with getSslCertificate()

This commit is contained in:
johnnyq
2026-07-14 17:54:31 -04:00
parent 52b5063066
commit 21a23e79b0
5 changed files with 5 additions and 5 deletions

View File

@@ -25,7 +25,7 @@ if (isset($_GET['certificate_fetch_parse_json_details'])) {
$name = $_GET['domain'];
// Get SSL cert for domain (if exists)
$certificate = getSSL($name);
$certificate = getSslCertificate($name);
if ($certificate['success'] == "TRUE") {
$response['success'] = "TRUE";

View File

@@ -209,7 +209,7 @@ if (isset($_POST['add_client'])) {
}
$domain_id = mysqli_insert_id($mysqli);
$certificate = getSSL($website);
$certificate = getSslCertificate($website);
if ($certificate['success'] == "TRUE") {
$expire = cleanInput($certificate['expire']);

View File

@@ -46,7 +46,7 @@ if (isset($_POST['add_domain'])) {
$domain_id = mysqli_insert_id($mysqli);
// Get SSL cert for domain (if exists)
$certificate = getSSL($name);
$certificate = getSslCertificate($name);
if ($certificate['success'] == "TRUE") {
$expire = escapeSql($certificate['expire']);
$issued_by = escapeSql($certificate['issued_by']);