Ticket #1279 (closed defect: fixed)
favicon.ico 호출 에러
| Reported by: | graphittie | Owned by: | graphittie |
|---|---|---|---|
| Priority: | major | Milestone: | 2.0.0 |
| Component: | Core | Version: | |
| Keywords: | Cc: | ||
| Release: |
Description
Dispatcher는 construct() -> URIinterpreter() 순으로 로드되는데, favicon.ico를 호출할 경우 URIinterpreter() 안에서 exit가 발생합니다. 이는 _getInstance()의 self::$instances[$className] = new $className();에서 할당 연산자가 동작하기 전에 exit가 발생하는 결과를 낳아 최종적으로 _getInstance()가 아무것도 반환하지 못하고 죽어버리게 됩니다. 이를 해결하기 위해 exit를 제거하고 조건문을 재구성합니다.
Change History
Note: See
TracTickets for help on using
tickets.
