mirror of
https://github.com/mosbth/cimage.git
synced 2025-08-07 16:46:39 +02:00
more test
This commit is contained in:
@@ -16,7 +16,7 @@ function trace($msg)
|
|||||||
{
|
{
|
||||||
$file = CIMAGE_DEBUG_FILE;
|
$file = CIMAGE_DEBUG_FILE;
|
||||||
if (!is_writable($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";
|
$details = ":" . (string) round((microtime(true) - $_SERVER["REQUEST_TIME_FLOAT"]), 6) . "ms";
|
||||||
|
Reference in New Issue
Block a user