Skip to content

Commit

Permalink
Dev Renamed HTTPRequest class due to possible name collisions
Browse files Browse the repository at this point in the history
  • Loading branch information
c-schmitz committed Dec 6, 2012
1 parent db21aeb commit e5e227b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Expand Up @@ -31,7 +31,7 @@
* Every route will be interpreted as a regex pattern.
*
*/
class HttpRequest extends CHttpRequest {
class LSHttpRequest extends CHttpRequest {
public $noCsrfValidationRoutes = array();

protected function normalizeRequest(){
Expand Down
2 changes: 1 addition & 1 deletion application/core/LSYii_Application.php
Expand Up @@ -79,7 +79,7 @@ public function __construct($config = null)
}

$config['components']['request']=array(
'class'=>'HttpRequest',
'class'=>'LSHttpRequest',
'noCsrfValidationRoutes'=>array(
// '^services/wsdl.*$' // Set here additional regex rules for routes not to be validate
'getTokens_json',
Expand Down

0 comments on commit e5e227b

Please sign in to comment.