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

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

No files matched your search

+1 -1
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);
}