Skip to content

Commit

Permalink
new UrlManager
Browse files Browse the repository at this point in the history
  • Loading branch information
ywisax committed Nov 17, 2016
1 parent 0799504 commit d4b569b
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/Container.php
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ class Container extends \yii\di\Container
'yii\web\ErrorHandler' => 'tourze\workerman\yii2\web\ErrorHandler',
'yii\web\User' => 'tourze\workerman\yii2\web\User',
'yii\web\View' => 'tourze\workerman\yii2\web\View',
'yii\web\UrlManager' => 'tourze\workerman\yii2\web\UrlManager',
];

/**
Expand Down Expand Up @@ -203,7 +204,6 @@ class Container extends \yii\di\Container
'yii\web\JsonResponseFormatter',
'yii\web\Link',
'yii\web\MultipartFormDataParser',
'yii\web\UrlManager',
'yii\web\UrlNormalizer',
'yii\web\UrlRule',
'yii\web\UserEvent',
Expand Down
14 changes: 14 additions & 0 deletions src/web/UrlManager.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
<?php

namespace tourze\workerman\yii2\web;

use Yii;

/**
* Url管理组件
*
* @package tourze\workerman\yii2\web
*/
class UrlManager extends \yii\web\UrlManager
{
}

0 comments on commit d4b569b

Please sign in to comment.