refactor: initialize static::$cacheTTL

This commit is contained in:
kenjis 2022-07-20 12:00:20 +09:00
parent f19169d8fd
commit 9b5a12478c
No known key found for this signature in database
GPG Key ID: BD254878922AF198

View File

@ -307,6 +307,8 @@ class CodeIgniter
throw new LogicException('Context must be set before run() is called. If you are upgrading from 4.1.x, you need to merge `public/index.php` and `spark` file from `vendor/codeigniter4/framework`.');
}
static::$cacheTTL = 0;
$this->startBenchmark();
$this->getRequestObject();