start investigating Login controller time

This commit is contained in:
zebardy 2019-11-22 15:18:56 +00:00
parent 11bf1ccfae
commit 4895417586

View File

@ -13,7 +13,9 @@ class LoginController extends BaseController
$fp = fopen('/config/data/sql.log', 'a');
$time_start = microtime(true);
parent::__construct($container);
fwrite($fp, "£££ Login controller - parent construstor time : " . round((microtime(true) - $time_start),6) . "\n");
$this->SessionService = SessionService::getInstance();
fwrite($fp, "£££ Login controller - got session service instance : " . round((microtime(true) - $time_start),6) . "\n");
$this->SessionCookieName = $sessionCookieName;
fwrite($fp, "£££ Login controller - construction time : " . round((microtime(true) - $time_start),6) . "\n");
fclose($fp);