Profiler, Phase 1.

This commit is contained in:
Josh Sherman 2010-10-01 01:12:37 -04:00
parent 28525dcf08
commit 9bf37c37ec
4 changed files with 207 additions and 3 deletions

View file

@ -21,6 +21,9 @@
* @usage <code>require_once 'pickles.php';</code>
*/
// Grabs the start time in case we're profiling
define('PICKLES_START_TIME', microtime(true));
// @todo Add options to the config to set this, and/or have it only run
// E_STRICT display ON locally (perhaps by IP?)
ini_set('display_errors', true);