fix argv assignments to REQUEST and GET
This commit is contained in:
1 parent
4e3247f82b
commit
7399950574
3 files changed
+5
-1
No files matched your search
@@ -37,6 +37,7 @@ class ToolBox
|
||||
{
|
||||
//Add CLI arguments
|
||||
if(defined('STDIN')) mb_parse_str(implode('&', array_slice($argv, 1)), $_GET);
|
||||
$_REQUEST = array_merge($_GET, $_REQUEST);
|
||||
|
||||
//Add Server Name
|
||||
$sServerName = array_key_exists('SERVER_NAME', $_SERVER)?$_SERVER['SERVER_NAME']:$_SERVER['PWD'];
|
||||
|
||||
Reference in new issue
Block a user