Обновлена версия Yii2, удалён костыль для учёта http/https

This commit is contained in:
ErickSkrauch
2017-04-04 14:40:09 +03:00
parent d7b193f2e7
commit 667c034aca
3 changed files with 5 additions and 5 deletions

View File

@ -39,7 +39,7 @@ class Module extends \yii\base\Module implements BootstrapInterface {
*/
public function bootstrap($app) {
$app->getUrlManager()->addRules([
"<protocol:http|https>://$this->host/$this->id/auth/<action>" => "$this->id/authentication/<action>",
"//$this->host/$this->id/auth/<action>" => "$this->id/authentication/<action>",
], false);
}