Merge branch 'develop' into php7

This commit is contained in:
Kijin Sung 2015-12-08 16:14:06 +09:00
commit be5c3c21bf
3 changed files with 4 additions and 9 deletions

View file

@ -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

View file

@ -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);

View file

@ -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);