WBCE CMS – Way Better Content Editing.
You are not logged in.
Pages: 1
Ein neues Snippet von Ruud (Danke dafür)
Log Rotate verhindert, dass das PHP-errorlog, das vom Admintool Errorlogger erzeugt wird, unkontrolliert größer und größer wird.
Einmal pro Session prüft das Snippet, ob das Logfile größer als 3 MB ist, und benennt es in diesem Falle um (YYYYMMJJ_TTII_php_error_log.log) und sendet eine kurze Informail an die bei den Grundeinstellungen hinterlegte Adresse.
Die Maximalgröße sowie die E-Mail-Adresse für Benachrichtigungen können in der settings.php angepasst werden (settings.php per FTP oder AFE bearbeiten).
Download:
Sorgen sind wie Nudeln: man macht sich meist zu viele.
Offline
dev4me, bernd, stefanek
I looked at the code. I marvel about the code of the include.php. Ruud is a genius as he demonstrates once again that sometimes you don't need 1000 lines to fulfil the task.
Last edited by stefanek (10.12.2020 03:08:32)
“Success is the progressive realization of a worthy ideal.” ― Earl Nightingale
Offline
byteworker
Pages: 1