Commit d8979595 authored by Sebastian Kummer's avatar Sebastian Kummer

Merge pull request #64 in ZP/z-push from...

Merge pull request #64 in ZP/z-push from bugfix/ZP-720-user-level-log-won-t-writeend-if-global to develop

* commit '4c91e8b0':
  ZP-720 Write memory information and END tag also to the user log file.
parents a8b25c37 4c91e8b0
...@@ -180,7 +180,7 @@ class ZLog { ...@@ -180,7 +180,7 @@ class ZLog {
* @return * @return
*/ */
static public function WriteEnd() { 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) { if (version_compare(phpversion(), '5.4.0') < 0) {
$time_used = number_format(time() - $_SERVER["REQUEST_TIME"], 4); $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