Browse Source

use certbot for gatering informations

andre 9 months ago
parent
commit
3316b62d26
1 changed files with 7 additions and 1 deletions
  1. 7 1
      controllers/GetSSLDaysController.php

+ 7 - 1
controllers/GetSSLDaysController.php

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