Browse Source

Formatting changes to make @annando happy

pull/2862/head
Hypolite Petovan 4 years ago
parent
commit
b806f87874
3 changed files with 10 additions and 10 deletions
  1. +1
    -1
      include/Core/Config.php
  2. +1
    -1
      include/Core/PConfig.php
  3. +8
    -8
      include/text.php

+ 1
- 1
include/Core/Config.php View File

@ -145,7 +145,7 @@ ON DUPLICATE KEY UPDATE `v` = '%s'",
);
if ($ret) {
return $value;
}
}
return $ret;
}


+ 1
- 1
include/Core/PConfig.php View File

@ -142,7 +142,7 @@ ON DUPLICATE KEY UPDATE `v` = '%s'",
);
if ($ret) {
return $value;
}
}
return $ret;
}


+ 8
- 8
include/text.php View File

@ -734,14 +734,14 @@ function logger($msg, $level = 0) {
$callers = debug_backtrace();
$logline = sprintf("%s@%s\t[%s]:%s:%s:%s\t%s\n",
datetime_convert(),
$process_id,
$LOGGER_LEVELS[$level],
basename($callers[0]['file']),
$callers[0]['line'],
$callers[1]['function'],
$msg
);
datetime_convert(),
$process_id,
$LOGGER_LEVELS[$level],
basename($callers[0]['file']),
$callers[0]['line'],
$callers[1]['function'],
$msg
);
$stamp1 = microtime(true);
@file_put_contents($logfile, $logline, FILE_APPEND);


Loading…
Cancel
Save