Fix incorrect prefix handling in autoinstall

This commit is contained in:
Kijin Sung 2016-01-09 00:20:22 +09:00
parent 1c90e1286f
commit 92be5ac0ef
2 changed files with 4 additions and 4 deletions

View file

@ -187,7 +187,7 @@ class installController extends install
'db_userid' => Context::get('db_userid'),
'db_password' => Context::get('db_password'),
'db_database' => Context::get('db_database'),
'db_table_prefix' => rtrim(Context::get('db_table_prefix'), '_'),
'db_table_prefix' => Context::get('db_table_prefix'),
);
$db_info->slave_db = array($db_info->master_db);
$db_info->default_url = Context::getRequestUri();

View file

@ -44,11 +44,11 @@ class installView extends install
'db_hostname' =>'localhost',
'db_userid' =>'root',
'db_password' =>'root',
'db_database' =>'xe_database',
'db_table_prefix' =>'xe',
'db_database' =>'rx_database',
'db_table_prefix' =>'rx',
'user_rewrite' =>'N',
'time_zone' =>'0000',
'email_address' =>'admin@xe.com',
'email_address' =>'admin@admin.net',
'password' =>'pass',
'password2' =>'pass',
'nick_name' =>'admin',