- 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
- Branch
- /in-portal/branches/5.2.x
- Lint
Lint Errors Excuse: Can't fix easily. Severity Location Code Message Error core/kernel/utility/debugger.php:259 PHPCS.E.CodingStandard.NamingConventions.ValidVariableName.PrivateNoUnderscore CodingStandard.NamingConventions.ValidVariableName.PrivateNoUnderscore Error core/kernel/utility/debugger.php:1245 PHPCS.E.PSR2.Methods.FunctionCallSignature.Indent PSR2.Methods.FunctionCallSignature.Indent Error core/kernel/utility/debugger.php:1246 PHPCS.E.PSR2.Methods.FunctionCallSignature.Indent PSR2.Methods.FunctionCallSignature.Indent Error core/kernel/utility/debugger.php:1620 PHPCS.E.CodingStandard.Commenting.InlineComment.InvalidEndChar CodingStandard.Commenting.InlineComment.InvalidEndChar Error core/kernel/utility/debugger.php:1620 PHPCS.E.CodingStandard.Commenting.InlineComment.NotCapital CodingStandard.Commenting.InlineComment.NotCapital Warning core/kernel/utility/debugger.php:1245 PHPCS.W.Generic.Files.LineLength.TooLong Generic.Files.LineLength.TooLong Warning core/kernel/utility/debugger.php:1251 PHPCS.W.Generic.Files.LineLength.TooLong Generic.Files.LineLength.TooLong - Unit
No Unit Test Coverage - Build Status
Buildable 1127 Build 1127: arc lint + arc unit