diff --git a/classes/db/DBMysqli.class.php b/classes/db/DBMysqli.class.php index 40e29371c..86c791f80 100644 --- a/classes/db/DBMysqli.class.php +++ b/classes/db/DBMysqli.class.php @@ -64,7 +64,7 @@ if(!$this->hostname || !$this->userid || !$this->password || !$this->database) return; // 접속시도 - $this->handler = new mysqli_connect($this->hostname, $this->userid, $this->password, $this->database); + $this->handler = new mysqli($this->hostname, $this->userid, $this->password, $this->database); // 접속체크 if(mysqli_connect_error()) $this->is_connected = false; @@ -402,7 +402,7 @@ } $virtual_no = $total_count - ($page-1)*$navigation->list_count; - while($tmp = mysql_fetch_object($result)) { + while($tmp = $result->fetch_object()) { $data[$virtual_no--] = $tmp; } diff --git a/modules/install/install.controller.php b/modules/install/install.controller.php index 839842973..91149caf5 100644 --- a/modules/install/install.controller.php +++ b/modules/install/install.controller.php @@ -44,7 +44,6 @@ // 설치 완료 메세지 출력 $this->setMessage('msg_install_completed'); - $this->setRedirectUrl('./'); } /** diff --git a/modules/install/tpl/filter/mysql.xml b/modules/install/tpl/filter/mysql.xml index 6121f4b69..9893ca64a 100644 --- a/modules/install/tpl/filter/mysql.xml +++ b/modules/install/tpl/filter/mysql.xml @@ -26,7 +26,7 @@ - + diff --git a/modules/install/tpl/form.mysqli.html b/modules/install/tpl/form.mysqli.html new file mode 100644 index 000000000..1cc857a77 --- /dev/null +++ b/modules/install/tpl/form.mysqli.html @@ -0,0 +1,89 @@ + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
+ {$lang->db_title} +
{$lang->db_hostname} + +
{$lang->db_userid} + +
{$lang->db_password} + +
{$lang->db_database} + +
{$lang->db_table_prefix} + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ {$lang->admin_title} +
{$lang->user_id} + +
{$lang->password1} + +
{$lang->password2} + +
{$lang->user_name} + +
{$lang->nick_name} + +
{$lang->email_address} + +
+ + +