1
0
mirror of https://github.com/mosbth/cimage.git synced 2025-08-06 16:16:39 +02:00

more test

This commit is contained in:
Mikael Roos
2016-08-08 10:44:27 +02:00
parent 72c04632b8
commit 493ed45311

View File

@@ -16,7 +16,7 @@ function trace($msg)
{
$file = CIMAGE_DEBUG_FILE;
if (!is_writable($file)) {
die("Using trace without a writable logfile. Create the file '$file' and make it writable for the web server.");
return;
}
$details = ":" . (string) round((microtime(true) - $_SERVER["REQUEST_TIME_FLOAT"]), 6) . "ms";