config파일 읽을 때 BOM문자 제거#1604
Closed
wkpark wants to merge 1 commit into
Closed
Conversation
ghost
pushed a commit
that referenced
this pull request
Nov 28, 2017
|
merged 1f39f9e |
kijin
added a commit
to rhymix/rhymix
that referenced
this pull request
Nov 30, 2017
This pull request was closed.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
files/config/db.config.php를 수동으로 편집하는 경우가 있습니다. XE 메뉴얼에도 해당 파일을 편집하라는 가이드가 있죠.그런데 실수로 BOM문자를 제거하지 않는 경우가 있고, 이 문제때문에 시간을 날리는 경우도 있습니다.
간단히
include config;구문을ob_start()ob_end_clean();으로 감싸주는 트릭을 사용합니다.