Explorar o código

use certbot for gatering informations

andre hai 8 meses
pai
achega
3316b62d26
Modificáronse 1 ficheiros con 7 adicións e 1 borrados
  1. 7 1
      controllers/GetSSLDaysController.php

+ 7 - 1
controllers/GetSSLDaysController.php

@@ -34,7 +34,13 @@ class GetSSLDaysController {
         $expiryDate = date('Y-m-d', $expiryTimestamp);
         $expiryDate = date('Y-m-d', $expiryTimestamp);
         $daysRemaining = ceil(($expiryTimestamp - time()) / 86400);
         $daysRemaining = ceil(($expiryTimestamp - time()) / 86400);
         */
         */
-        error_log("Debug certbot respond => $phpOutput");
+		logModuleCall(
+			'siteBuilder',
+			__FUNCTION__,
+			$data,
+			'Debug',
+			$phpOutput
+		);
 
 
         echo json_encode([
         echo json_encode([
 	        'ssl_expiry' => $phpOutput,
 	        'ssl_expiry' => $phpOutput,