Răsfoiți Sursa

Merge pull request #510 from causefx/cero-dev

Cero dev
causefx 8 ani în urmă
părinte
comite
aac35cbaf9
2 a modificat fișierele cu 4 adăugiri și 2 ștergeri
  1. 2 0
      config/configDefaults.php
  2. 2 2
      functions.php

+ 2 - 0
config/configDefaults.php

@@ -87,4 +87,6 @@ return array(
 	"homepageNoticeAuth" => "false",
 	"homepageNoticeLayout" => "elegant",
 	"ipInfoToken" => "ddd0c072ad5021",
+	"historyRefresh" => "120000",
+	"downloadRefresh" => "30000",
 );

+ 2 - 2
functions.php

@@ -3346,10 +3346,10 @@ function sendTestEmail($to, $from, $host, $auth, $username, $password, $type, $p
 	$mail->Body    = "This was just a test!";
 	//$mail->send();
 	if(!$mail->send()) {
-		writeLog("error", "mail failed to send");
+		writeLog("error", "EMAIL TEST: mail failed to send - Error:".$mail->ErrorInfo);
 		return false;
 	} else {
-		writeLog("success", "mail has been sent");
+		writeLog("success", "EMAIL TEST: mail has been sent successfully");
 		return true;
 	}