Skip to content

Commit

Permalink
Merge 1f7a05e into 76e072d
Browse files Browse the repository at this point in the history
  • Loading branch information
maeda-at-land committed Feb 22, 2016
2 parents 76e072d + 1f7a05e commit f6dca00
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/Eccube/Application.php
Expand Up @@ -664,7 +664,7 @@ public function initPluginEventDispatcher()
// 全体
$app['eccube.event.dispatcher']->dispatch('eccube.event.app.request', $event);

if (strpos('admin', $route) === 0) {
if (strpos($route, 'admin') === 0) {
// 管理画面
$app['eccube.event.dispatcher']->dispatch('eccube.event.admin.request', $event);
} else {
Expand Down Expand Up @@ -696,7 +696,7 @@ public function initPluginEventDispatcher()
// 全体
$app['eccube.event.dispatcher']->dispatch('eccube.event.app.controller', $event);

if (strpos('admin', $route) === 0) {
if (strpos($route, 'admin') === 0) {
// 管理画面
$app['eccube.event.dispatcher']->dispatch('eccube.event.admin.controller', $event);
} else {
Expand Down Expand Up @@ -726,7 +726,7 @@ public function initPluginEventDispatcher()
// ルーティング単位
$app['eccube.event.dispatcher']->dispatch("eccube.event.route.{$route}.response", $event);

if (strpos('admin', $route) === 0) {
if (strpos($route, 'admin') === 0) {
// 管理画面
$app['eccube.event.dispatcher']->dispatch('eccube.event.admin.response', $event);
} else {
Expand Down Expand Up @@ -756,7 +756,7 @@ public function initPluginEventDispatcher()
// ルーティング単位
$app['eccube.event.dispatcher']->dispatch("eccube.event.route.{$route}.exception", $event);

if (strpos('admin', $route) === 0) {
if (strpos($route, 'admin') === 0) {
// 管理画面
$app['eccube.event.dispatcher']->dispatch('eccube.event.admin.exception', $event);
} else {
Expand All @@ -782,7 +782,7 @@ public function initPluginEventDispatcher()
// ルーティング単位
$app['eccube.event.dispatcher']->dispatch("eccube.event.route.{$route}.terminate", $event);

if (strpos('admin', $route) === 0) {
if (strpos($route, 'admin') === 0) {
// 管理画面
$app['eccube.event.dispatcher']->dispatch('eccube.event.admin.terminate', $event);
} else {
Expand Down

0 comments on commit f6dca00

Please sign in to comment.