Select InnoDB by default, fall back to MyISAM if not supported

This commit is contained in:
Kijin Sung 2016-01-04 13:40:59 +09:00
parent c763bf2a93
commit 20f8a5510a
3 changed files with 32 additions and 4 deletions

View file

@ -117,11 +117,12 @@ class installView extends install
if(ini_get('safe_mode') && !Context::isFTPRegisted())
{
Context::set('progressMenu', '3');
Context::set('server_ip_address', $_SERVER['SERVER_ADDR']);
$this->setTemplateFile('ftp');
}
else
{
$defaultDatabase = 'mysqli';
$defaultDatabase = 'mysqli_innodb';
$disableList = DB::getDisableList();
if(is_array($disableList))
{