mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-04 01:01:41 +09:00
Merge branch 'develop' into php7
This commit is contained in:
commit
be5c3c21bf
3 changed files with 4 additions and 9 deletions
|
|
@ -1,11 +1,6 @@
|
|||
<?php
|
||||
/* Copyright (C) NAVER <http://www.navercorp.com> */
|
||||
|
||||
if(!defined('__XE_LOADED_DB_CLASS__'))
|
||||
{
|
||||
define('__XE_LOADED_DB_CLASS__', 1);
|
||||
}
|
||||
|
||||
/**
|
||||
* - DB parent class
|
||||
* - usage of db in XE is via xml
|
||||
|
|
|
|||
|
|
@ -501,7 +501,7 @@ class adminAdminController extends admin
|
|||
$vars = Context::getRequestVars();
|
||||
$oInstallController = getController('install');
|
||||
|
||||
$db_info = Context::getDbInfo();
|
||||
$db_info = Context::getDBInfo();
|
||||
|
||||
$db_info->use_sitelock = ($vars->use_sitelock) ? $vars->use_sitelock : 'N';
|
||||
$db_info->sitelock_title = $vars->sitelock_title;
|
||||
|
|
@ -543,7 +543,7 @@ class adminAdminController extends admin
|
|||
{
|
||||
$vars = Context::getRequestVars();
|
||||
|
||||
$db_info = Context::getDbInfo();
|
||||
$db_info = Context::getDBInfo();
|
||||
|
||||
$white_object = $vars->embed_white_object;
|
||||
$white_object = preg_replace("/[\r\n|\r|\n]+/", '|@|', $white_object);
|
||||
|
|
|
|||
|
|
@ -600,7 +600,7 @@ class installController extends install
|
|||
{
|
||||
$db_tmp_config_file = $this->db_tmp_config_file;
|
||||
|
||||
$db_info = Context::getDbInfo();
|
||||
$db_info = Context::getDBInfo();
|
||||
if(!$db_info) return;
|
||||
|
||||
$buff = $this->_getDBConfigFileContents($db_info);
|
||||
|
|
@ -641,7 +641,7 @@ class installController extends install
|
|||
$config_file = Context::getConfigFile();
|
||||
//if(file_exists($config_file)) return;
|
||||
|
||||
$db_info = Context::getDbInfo();
|
||||
$db_info = Context::getDBInfo();
|
||||
if(!$db_info) return;
|
||||
|
||||
$buff = $this->_getDBConfigFileContents($db_info);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue