- in the Admin Console
- login to the Admin Console
- go to Configuration → Website → General section
- in IDE:
- open /system/debug.php file for editing
- uncomment DBG_REDIRECT key of the $dbg_options array
- save changes
- open /core/kernel/utility/http_query.php file for editing
- change $this->Get = $this->AddVars($_GET); into $this->Get = $this->AddVars($_GET + array('virtual_get' => 'virtual_get_val'));
- change $this->Post = $this->AddVars($_POST); into $this->Post = $this->AddVars($_POST + array('virtual_post' => 'virtual_post_val'));
- change $this->Cookie = $this->AddVars($_COOKIE); into $this->Cookie = $this->AddVars($_COOKIE + array('virtual_cookie' => 'virtual_cookie_val'));
- save changes
- in the Admin Console
- press Save button on the toolbar
- open Debugger by pressing Show Debugger button the Debugger Toolbar
- confirm, that in Debugger:
- Web Request information is shown in the usual place
- there is GE virtual_get virtual_get_val line
- there is PO virtual_post virtual_post_val line
- there is CO virtual_cookie virtual_cookie_val line
Details
Details
Diff Detail
Diff Detail
- Repository
- rINP In-Portal
- Lint
Automatic diff as part of commit; lint not applicable. - Unit
Automatic diff as part of commit; unit tests not applicable.