Skip to content

Commit

Permalink
Merge branch 'master' of github.com:tourze/workerman-yii2
Browse files Browse the repository at this point in the history
# Conflicts:
#	src/commands/ServerController.php
#	src/server/HttpServer.php
  • Loading branch information
ywisax committed Dec 5, 2016
2 parents 67b247e + d4b569b commit 2f051c9
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 2f051c9

Please sign in to comment.