Rename log file

This commit is contained in:
franzz committed 2026-11-02 15:06:55 +01:00
1 parent b754374b79
commit 346cbd5ca3
3 files changed
+4 -2

No files matched your search

+2
View File
@@ -1,4 +1,6 @@
/log.html /log.html
/app.log
/globalsettings.php /globalsettings.php
inc/log.html inc/log.html
inc/app.log
/vendor/ /vendor/
+1 -1
View File
@@ -11,7 +11,7 @@ use \Settings;
class PhpObject class PhpObject
{ {
//Log file name //Log file name
const LOG_FILENAME = 'log.html'; const LOG_FILENAME = 'app.log';
private $sLogPath; private $sLogPath;
//Message types //Message types
+1 -1
View File
@@ -68,7 +68,7 @@ function sendEmail($sApp, $sFromName, $sFromEmail, $sSubject, $sMsg, $sToEmail,
chunk_split(base64_encode($sHtmlMessage)); chunk_split(base64_encode($sHtmlMessage));
//Store in case email fails //Store in case email fails
//@file_put_contents('log.html', '<br />----<br /><br />'.$sHtmlMessage, FILE_APPEND); //@file_put_contents('app.log', '<br />----<br /><br />'.$sHtmlMessage, FILE_APPEND);
//Send //Send
if(mail($sToEmail, $sSubject, '', $sHeaders)) if(mail($sToEmail, $sSubject, '', $sHeaders))