mirror of
https://github.com/standardebooks/web.git
synced 2025-07-10 00:30:28 -04:00
Updates to more strict type checking after some static analysis
This commit is contained in:
parent
152f86d616
commit
c879dcab34
10 changed files with 50 additions and 34 deletions
|
@ -38,7 +38,7 @@ set_exception_handler(function($ex){
|
|||
$errorString = "----------------------------------------\n";
|
||||
$errorString .= trim(vds(array_intersect_key($_SERVER, array('REQUEST_URI' => '', 'QUERY_STRING' => '', 'REQUEST_METHOD' => '', 'REDIRECT_QUERY_STRING' => '', 'REDIRECT_URL' => '', 'SCRIPT_FILENAME' => '', 'REMOTE_ADDR' => '', 'HTTP_COOKIE' => '', 'HTTP_USER_AGENT' => '', 'SCRIPT_URI' => ''))));
|
||||
|
||||
if(isset($_POST) && sizeof($_POST) > 0){
|
||||
if(sizeof($_POST) > 0){
|
||||
$errorString .= "POST DATA:\n";
|
||||
$errorString .= vds($_POST);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue