mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-08 03:01:43 +09:00
Merge #1735 getDbInfo -> getDBInfo by qkrcjfgus33
* pr/1735: Update admin.admin.controller.php Update install.controller.php getDbInfo -> getDBInfo
This commit is contained in:
commit
57e9077e8c
2 changed files with 4 additions and 4 deletions
|
|
@ -501,7 +501,7 @@ class adminAdminController extends admin
|
||||||
$vars = Context::getRequestVars();
|
$vars = Context::getRequestVars();
|
||||||
$oInstallController = getController('install');
|
$oInstallController = getController('install');
|
||||||
|
|
||||||
$db_info = Context::getDbInfo();
|
$db_info = Context::getDBInfo();
|
||||||
|
|
||||||
$db_info->use_sitelock = ($vars->use_sitelock) ? $vars->use_sitelock : 'N';
|
$db_info->use_sitelock = ($vars->use_sitelock) ? $vars->use_sitelock : 'N';
|
||||||
$db_info->sitelock_title = $vars->sitelock_title;
|
$db_info->sitelock_title = $vars->sitelock_title;
|
||||||
|
|
@ -543,7 +543,7 @@ class adminAdminController extends admin
|
||||||
{
|
{
|
||||||
$vars = Context::getRequestVars();
|
$vars = Context::getRequestVars();
|
||||||
|
|
||||||
$db_info = Context::getDbInfo();
|
$db_info = Context::getDBInfo();
|
||||||
|
|
||||||
$white_object = $vars->embed_white_object;
|
$white_object = $vars->embed_white_object;
|
||||||
$white_object = preg_replace("/[\r\n|\r|\n]+/", '|@|', $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_tmp_config_file = $this->db_tmp_config_file;
|
||||||
|
|
||||||
$db_info = Context::getDbInfo();
|
$db_info = Context::getDBInfo();
|
||||||
if(!$db_info) return;
|
if(!$db_info) return;
|
||||||
|
|
||||||
$buff = $this->_getDBConfigFileContents($db_info);
|
$buff = $this->_getDBConfigFileContents($db_info);
|
||||||
|
|
@ -641,7 +641,7 @@ class installController extends install
|
||||||
$config_file = Context::getConfigFile();
|
$config_file = Context::getConfigFile();
|
||||||
//if(file_exists($config_file)) return;
|
//if(file_exists($config_file)) return;
|
||||||
|
|
||||||
$db_info = Context::getDbInfo();
|
$db_info = Context::getDBInfo();
|
||||||
if(!$db_info) return;
|
if(!$db_info) return;
|
||||||
|
|
||||||
$buff = $this->_getDBConfigFileContents($db_info);
|
$buff = $this->_getDBConfigFileContents($db_info);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue