mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-04-26 05:42:13 +09:00
zbXE설치시 config파일을 생성할때 db정보의 값에 $ 표시등이 있을 경우를 대비하도록 코드 수정
git-svn-id: http://xe-core.googlecode.com/svn/sandbox@3945 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
3379af6dc1
commit
1b8c765148
1 changed files with 1 additions and 1 deletions
|
|
@ -186,7 +186,7 @@
|
|||
|
||||
$buff = '<?php if(!defined("__ZBXE__")) exit();'."\n";
|
||||
foreach($db_info as $key => $val) {
|
||||
$buff .= sprintf("\$db_info->%s = \"%s\";\n", $key, $val);
|
||||
$buff .= sprintf("\$db_info->%s = '%s';\n", $key, str_replace("'","\\'",$val));
|
||||
}
|
||||
$buff .= "?>";
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue