Skip to content

config파일 읽을 때 BOM문자 제거#1604

Closed
wkpark wants to merge 1 commit into
xpressengine:developfrom
wkpark:bom_fix
Closed

config파일 읽을 때 BOM문자 제거#1604
wkpark wants to merge 1 commit into
xpressengine:developfrom
wkpark:bom_fix

Conversation

@wkpark

@wkpark wkpark commented Jul 8, 2015

Copy link
Copy Markdown
Contributor

files/config/db.config.php를 수동으로 편집하는 경우가 있습니다. XE 메뉴얼에도 해당 파일을 편집하라는 가이드가 있죠.

그런데 실수로 BOM문자를 제거하지 않는 경우가 있고, 이 문제때문에 시간을 날리는 경우도 있습니다.

간단히 include config; 구문을 ob_start() ob_end_clean();으로 감싸주는 트릭을 사용합니다.

@ghost ghost added the status/keep label Feb 1, 2017
@ghost ghost closed this Feb 1, 2017
@ghost ghost self-assigned this Nov 28, 2017
@ghost ghost added this to the 1.9.0 milestone Nov 28, 2017
@ghost ghost reopened this Nov 28, 2017
ghost pushed a commit that referenced this pull request Nov 28, 2017
@ghost

ghost commented Nov 28, 2017

Copy link
Copy Markdown

merged 1f39f9e

@ghost ghost closed this Nov 28, 2017
kijin added a commit to rhymix/rhymix that referenced this pull request Nov 30, 2017
This pull request was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant