mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 14:18:52 +00:00
[ticket/10218] Prevent startime from being overwritten by deregister_globals()
PHPBB3-10218
This commit is contained in:
parent
f8eb154714
commit
4bb98fb046
1 changed files with 3 additions and 2 deletions
|
@ -13,8 +13,6 @@ if (!defined('IN_PHPBB'))
|
||||||
{
|
{
|
||||||
exit;
|
exit;
|
||||||
}
|
}
|
||||||
$starttime = explode(' ', microtime());
|
|
||||||
$starttime = $starttime[1] + $starttime[0];
|
|
||||||
|
|
||||||
// Report all errors, except notices and deprecation messages
|
// Report all errors, except notices and deprecation messages
|
||||||
if (!defined('E_DEPRECATED'))
|
if (!defined('E_DEPRECATED'))
|
||||||
|
@ -119,3 +117,6 @@ else
|
||||||
|
|
||||||
define('STRIP', (get_magic_quotes_gpc()) ? true : false);
|
define('STRIP', (get_magic_quotes_gpc()) ? true : false);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
$starttime = explode(' ', microtime());
|
||||||
|
$starttime = $starttime[1] + $starttime[0];
|
||||||
|
|
Loading…
Add table
Reference in a new issue