[ticket/10218] Prevent startime from being overwritten by deregister_globals()

PHPBB3-10218
This commit is contained in:
Yuriy Rusko 2011-06-15 00:50:12 -04:00
parent f8eb154714
commit 4bb98fb046

View file

@ -13,8 +13,6 @@ if (!defined('IN_PHPBB'))
{
exit;
}
$starttime = explode(' ', microtime());
$starttime = $starttime[1] + $starttime[0];
// Report all errors, except notices and deprecation messages
if (!defined('E_DEPRECATED'))
@ -119,3 +117,6 @@ else
define('STRIP', (get_magic_quotes_gpc()) ? true : false);
}
$starttime = explode(' ', microtime());
$starttime = $starttime[1] + $starttime[0];