correct timings for app route build time

This commit is contained in:
zebardy 2019-11-21 23:44:45 +00:00
parent dd5c97c4d2
commit 5c29be4f44

View File

@ -109,8 +109,10 @@ fwrite($fp, "!!!App - App object build time in seconds: " . round((microtime(tru
#phpinfo();
$route_load_time_start = microtime(true);
// Load routes from separate file
require_once __DIR__ . '/routes.php';
fwrite($fp, "!!!App - Route load time in seconds: " . round((microtime(true) - $route_load_time_start),6) . "\n");
fwrite($fp, "!!!App - App build time in seconds: " . round((microtime(true) - $app_time_start),6) . "\n");
#$fp = fopen('/config/data/sql.log', 'a');