mirror of
https://gitlab.com/davical-project/davical.git
synced 2026-05-21 01:54:23 +00:00
Remember a script start time.
This commit is contained in:
parent
860a3098ea
commit
b1913f780a
@ -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);
|
||||
|
||||
@ -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);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user