mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-04-28 23:03:25 +09:00
issue 731, added protection codes related update db.config.php
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@10269 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
3dead503c0
commit
e0fb3866a1
1 changed files with 1 additions and 0 deletions
|
|
@ -483,6 +483,7 @@
|
|||
|
||||
function _getDBConfigFileContents($db_info){
|
||||
$buff = '<?php if(!defined("__ZBXE__")) exit();'."\n";
|
||||
$db_info = get_object_vars($db_info);
|
||||
foreach($db_info as $key => $val) {
|
||||
if($key == 'master_db'){
|
||||
$buff .= $this->_getDbConnText($key, $val);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue