Tiny revert

This commit is contained in:
Damian Mooyman 2017-10-09 17:21:32 +13:00
parent 1e913bb938
commit 199d607a2c

View File

@ -17,13 +17,10 @@ class HTTPRequestBuilder
{ {
// Clean and update live global variables // Clean and update live global variables
$variables = static::cleanEnvironment(Environment::getVariables()); $variables = static::cleanEnvironment(Environment::getVariables());
// Health-check prior to creating environment
$req = static::createFromVariables($variables, @file_get_contents('php://input'));
Environment::setVariables($variables); // Currently necessary for SSViewer, etc to work Environment::setVariables($variables); // Currently necessary for SSViewer, etc to work
return $req; // Health-check prior to creating environment
return static::createFromVariables($variables, @file_get_contents('php://input'));
} }
/** /**
@ -140,4 +137,4 @@ class HTTPRequestBuilder
return $variables; return $variables;
} }
} }