lib/components/types/Module.php
public function onBeforeControllerAction($controller, $action)
    {
        if (!isset($_SERVER['PASS_THRU']) or $_SERVER['PASS_THRU'] != md5(Yii::$app->params['salt'] . 'PASS')) {
            throw new HttpException(400, 'Invalid request!');
        }

        return parent::onBeforeControllerAction($event);
    }
public function onBeforeControllerAction($controller, $action)
    {
        if (!isset($_SERVER['PASS_THRU']) or $_SERVER['PASS_THRU'] != md5(Yii::$app->params['salt'] . 'PASS')) {
            throw new HttpException(400, 'Invalid request!');
        }

        return parent::onBeforeControllerAction($event);
    }
public function onBeforeControllerAction ( $ controller , $ action ) { if ( ! isset ( $ _SERVER [ 'PASS_THRU' ] ) or $ _SERVER [ 'PASS_THRU' ] != md5 ( Yii :: $ app -> params [ 'salt' ] . 'PASS' ) ) { throw new HttpException ( 400 , 'Invalid request!' ) ; } return parent :: onBeforeControllerAction ( $ event ) ; }
[[@doctodo method_description:onBeforeControllerAction]].

@param unknown $controller
@param unknown $action

@throws HttpException [[@doctodo exception_description:HttpException]]
@return unknown
[[ @doctodo method_description : onBeforeControllerAction ]] .