Skip to content

Commit

Permalink
Adding a constant for TIME_START as $_SERVER[REQUEST_TIME] is only
Browse files Browse the repository at this point in the history
accurate to the second.  Profilers and timers need ms resolution
to be accurate.
  • Loading branch information
markstory committed Aug 23, 2011
1 parent 34d3d6f commit 8503ffd
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/Cake/bootstrap.php
Expand Up @@ -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);
}
Expand Down

0 comments on commit 8503ffd

Please sign in to comment.