Commit 4c91e8b0 authored by Sebastian Kummer's avatar Sebastian Kummer

ZP-720 Write memory information and END tag also to the user log file.

Released under the Affero GNU General Public License (AGPL) version 3.
parent 9dced9e2
......@@ -180,7 +180,7 @@ class ZLog {
* @return
*/
static public function WriteEnd() {
if (LOGLEVEL_DEBUG <= LOGLEVEL) {
if (LOGLEVEL_DEBUG <= LOGLEVEL || (LOGLEVEL_DEBUG <= LOGUSERLEVEL && self::$userLog)) {
if (version_compare(phpversion(), '5.4.0') < 0) {
$time_used = number_format(time() - $_SERVER["REQUEST_TIME"], 4);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment