update - missed something - the replacement code should be
file_put_contents($this->logFile, "\n",
$flags);this will wrap comment markers around the code, preventing the
log files from throwing errors in your site's log file
I'd like to add a couple comments here related to the security of the
PHP version of the log file.1) change the name of the log file - clearly
it shouldn't be anything similar, add a date2) add some security to the
log file: a) add a unique subfolder...