mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2024-11-15 03:18:26 +00:00
Adding a constant for TIME_START as $_SERVER[REQUEST_TIME] is only
accurate to the second. Profilers and timers need ms resolution to be accurate.
This commit is contained in:
parent
34d3d6fe9e
commit
8503ffd39b
1 changed files with 2 additions and 0 deletions
|
@ -18,6 +18,8 @@
|
|||
* @since CakePHP(tm) v 0.2.9
|
||||
* @license MIT License (http://www.opensource.org/licenses/mit-license.php)
|
||||
*/
|
||||
define('TIME_START', microtime(true));
|
||||
|
||||
if (!defined('E_DEPRECATED')) {
|
||||
define('E_DEPRECATED', 8192);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue