mirror of
https://github.com/itflow-org/itflow
synced 2026-07-31 20:57:15 +00:00
Replace Function getSSL() with getSslCertificate()
This commit is contained in:
@@ -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";
|
||||
|
||||
@@ -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']);
|
||||
|
||||
@@ -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']);
|
||||
|
||||
Reference in New Issue
Block a user