Browse Source

휘파람보드 1.2.0

- 대규모 업데이트
master
장선근 5 years ago
parent
commit
e31c4bb601
  1. 5
      wheeparam/application/controllers/Install.php
  2. 2
      wheeparam/config/wheeparam.sql

5
wheeparam/application/controllers/Install.php

@ -62,6 +62,11 @@ class Install extends CI_Controller {
$data['ath_type'] = "SUPER"; $data['ath_type'] = "SUPER";
$data['ath_key'] = ""; $data['ath_key'] = "";
$this->db->insert('member_auth',$data); $this->db->insert('member_auth',$data);
$data['ath_type'] = 'MASTER';
$this->db->insert('member_auth',$data);
unset($data); unset($data);
// 인스톨 파일 삭제 // 인스톨 파일 삭제

2
wheeparam/config/wheeparam.sql

@ -459,7 +459,7 @@ CREATE TABLE `wb_member_autologin` (
DROP TABLE IF EXISTS `wb_member_auth`; DROP TABLE IF EXISTS `wb_member_auth`;
CREATE TABLE `wb_member_auth` ( CREATE TABLE `wb_member_auth` (
`mem_idx` int(11) NOT NULL, `mem_idx` int(11) NOT NULL,
`ath_type` enum('SUPER','BOARD') NOT NULL,
`ath_type` varchar(30) NOT NULL DEFAULT '',
`ath_key` varchar(20) NOT NULL DEFAULT '', `ath_key` varchar(20) NOT NULL DEFAULT '',
PRIMARY KEY (`mem_idx`,`ath_type`,`ath_key`) PRIMARY KEY (`mem_idx`,`ath_type`,`ath_key`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8; ) ENGINE=InnoDB DEFAULT CHARSET=utf8;

Loading…
Cancel
Save