Remember a script start time.

This commit is contained in:
Andrew McMillan committed 2010-03-30 10:44:20 +13:00
1 parent 860a3098ea
commit b1913f780a
2 files changed
+2

No files matched your search

+1
View File
@@ -10,6 +10,7 @@ if ( preg_match('{/always.php$}', $_SERVER['SCRIPT_NAME'] ) ) header('Location:
// Ensure the configuration starts out as an empty object.
$c = (object) array();
$c->script_start_time = microtime(true);
// Ditto for a few other global things
unset($session); unset($request); unset($dbconn); unset($_awl_dbconn); unset($include_properties);