mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
BUGFIX: fixed notice level errors getting through (from r107089)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@112547 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
parent
efebfe5993
commit
7fb414818a
@ -187,12 +187,13 @@ class Director {
|
||||
if(!$session) $session = new Session(null);
|
||||
|
||||
// Back up the current values of the superglobals
|
||||
$existingRequestVars = $_REQUEST;
|
||||
$existingGetVars = $_GET;
|
||||
$existingPostVars = $_POST;
|
||||
$existingRequestVars = isset($_REQUEST) ? $_REQUEST : array();
|
||||
$existingGetVars = isset($_GET) ? $_GET : array();
|
||||
$existingPostVars = isset($_POST) ? $_POST : array();
|
||||
$existingSessionVars = isset($_SESSION) ? $_SESSION : array();
|
||||
$existingCookies = $_COOKIE;
|
||||
$existingServer = $_SERVER;
|
||||
$existingCookies = isset($_COOKIE) ? $_COOKIE : array();
|
||||
$existingServer = isset($_SERVER) ? $_SERVER : array();
|
||||
|
||||
$existingCookieReportErrors = Cookie::report_errors();
|
||||
$existingRequirementsBackend = Requirements::backend();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user