소스 검색

setup route fix

develop
Robin Thoni 8 년 전
부모
커밋
886d353273
1개의 변경된 파일2개의 추가작업 그리고 4개의 파일을 삭제
  1. 2
    4
      src/Utils/Controller/LuticateApplication.php

+ 2
- 4
src/Utils/Controller/LuticateApplication.php 파일 보기

@@ -73,10 +73,8 @@ class LuticateApplication implements MessageComponentInterface
73 73
     
74 74
     public function setupRoutes()
75 75
     {
76
-        function($app)
77
-        {
78
-            require_once __DIR__ . '/../../../../../../app/routes.php';
79
-        }($this);
76
+        $app = $this;
77
+        require_once __DIR__ . '/../../../../../../app/routes.php';
80 78
         
81 79
         $this->_router->setup();
82 80
     }

Loading…
취소
저장