Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

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.
  • Loading branch information...
commit 8503ffd39b3169c79ea396161bdd737a650dcc61 1 parent 34d3d6f
@markstory markstory authored
Showing with 2 additions and 0 deletions.
  1. +2 −0  lib/Cake/bootstrap.php
View
2  lib/Cake/bootstrap.php
@@ -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);
}
Please sign in to comment.
Something went wrong with that request. Please try again.