코드이그나이터 기반 PHP 오픈소스 게시판 : 씨아이보드

씨아이보드 Pro 3.0.0

  • 관리자
  • 4
  • 3,015
  • 글주소
  • 11-06

내용에 버그가 발견되어 11월10일 오후 3시52분에 재업로드 되었습니다.


씨아이보드3 를 배포하게 되었습니다.


씨아이보드3 는 Lite 와 Pro 의 2가지 버전으로 나누어져 배포됩니다.


Pro 버전은 기존의 씨아이보드2와 대부분 동일합니다.



[씨아이보드2 -> 씨아이보드3 변경된 됨]

[파일변경]

_system/*  : 코드이그나이터 3.1.9 로 업그레이드

application/config/autoload.php : autoload 하는 libraries 에서 depositconfig, cmallconfig 를 삭제

cmallconfig -> cmallcfg, depositconfig ->depositcfg 등, 파일명에 config 가 있는 경우 에러가 생기는 현상이 특정서버에서 발생하여, 컨트롤러명 변경 및 해당 뷰 디렉토리명도 변경함

plugin 식으로 배포를 위해 poll, selfcert 등의 관리자페이지 내에서 메뉴위치 변경

application/config/cb_admin_menu.php 에서 application/config/cb_admin_menu_{***}.php 으로 변경됨

application/config/config.php 의 $config['csrf_exclude_uris'] 변수 내용 설정방법 변경

application/config/database.php : utf8 에서 utf8mb4 로 기본 charset 을 변경함

application/controllers/Board_post.php selfcert, poll 관련 기능 변경

application/controllers/Board_write.php poll 관련 기능 변경

application/controllers/Cmall.php cmallconfig 대신 cbconfig 접속하도록 변경, cmall_config_model 을 사용하던 것을 config_model 로 변경

application/controllers/Cmallact.php cmallconfig 대신 cbconfig 접속하도록 변경, cmall_config_model 을 사용하던 것을 config_model 로 변경

application/controllers/Comment_list.php 본인인증기능을 사용하는지 if 문 추가

application/controllers/Comment_write.php 에서 selfcert 관련 내용 변경, smslib 가 존재하는지 체크

application/controllers/Deposit.php 에서 depositconfig => cbconfig 로 변경 

application/controllers/Helptool.php  에서 poll 관련 내용 삭제

application/controllers/Membermodify.php selfcert 관련 내용 변경, smslib 가 존재하는지 체크

application/controllers/Note.php 노트 삭제시 안읽은 노트개수 업데이트 되도록 변경

application/controllers/Postact.php 에서 smslib 가 존재하는지 체크, poll 관련 내용 삭제 

application/controllers/Register.php 에서 smslib 가 존재하는지 체크

application/controllers/Social.php 에서 smslib 가 존재하는지 체크, $socialinfo = ''; 를 $socialinfo = array(); 로 변경

application/controllers/admin/board/Boards.php 에서 poll 관련 내용 삭제

application/controllers/admin/cmall/*  에서 cmalllib 라이브러리 로드 추가, cmallconfig 대신 cbconfig 접속하도록 변경, cmall_config_model 을 사용하던 것을 config_model 로 변경

application/controllers/admin/config/Emailform.php 에서 smslib 가 존재하는지 체크

application/controllers/admin/config/Memberconfig.php 에서 selfcert 함수 제거, smslib 가 존재하는지 체크

application/controllers/admin/config/Testemail.php 에 오타 수정 '이메일일' => '이메일을'

application/controllers/admin/deposit/Depositstat.php 에서 depositlib 라이브러리 로드 추가

application/controllers/admin/deposit/Emailform.php 에서 deposit_config_mnodel 을 config_model 로 변경

application/controllers/admin/deposit/Pendingbank.php 에서 depositconfig => cbconfig 로 변경

application/helpers/basic_helper.php 파일에 print_r2() 함수추가

application/helpers/basic_helper.php 파일에 get_access_selectbox, display_html_content 함수 내용 변경

application/libraries/Accesslevel.php 의 is_selfcert, selfcertcheck 함수 제거, 해당 함수는 selfcertlib 로 옮겨감

application/libraries/Cbconfig.php 의 get_config 함수 내용 변경

application/libraries/Cmalllib.php 의 내용 변경 - cmall_config 테이블이 삭제되어, config 테이블에 접근하도록 변경함

application/libraries/Depositlib.php 의 내용 변경 - deposit_config 테이블이 삭제되어, config 테이블에 접근하도록 변경함

application/libraries/Managelayout.php 의 admin 함수 내용 변경 - 관리자페이지 메뉴설정이 application/libraries/Member,php 의 delete_member 함수 내용 변경

application/models/Member_meta_model.php 파일에 is_already_selfcert 함수 제거


여러 파일에 $uploadconfig = ''; 를 $uploadconfig = array(); 로 변경함


[변경된 파일]

_system/*

application/config/autoload.php

application/config/cb_version.php

application/config/config.php

application/config/database.php

application/config/foreign_chars.php

application/config/migration.php

application/config/mimes.php

application/config/user_agents.php

application/controllers/Board_post.php

application/controllers/Board_write.php

application/controllers/Cmall.php

application/controllers/Cmallact.php

application/controllers/Comment_list.php

application/controllers/Comment_write.php

application/controllers/Deposit.php

application/controllers/Helptool.php

application/controllers/Install.php

application/controllers/Membermodify.php

application/controllers/Note.php

application/controllers/Poll.php

application/controllers/Postact.php

application/controllers/Register.php

application/controllers/Selfcert.php

application/controllers/Social.php

application/controllers/admin/board/Boards.php

application/controllers/admin/cmall/Cmallcart.php

application/controllers/admin/cmall/Cmallcategory.php

application/controllers/admin/cmall/Cmallitem.php

application/controllers/admin/cmall/Cmallstat.php

application/controllers/admin/cmall/Emailform.php

application/controllers/admin/cmall/Itemdownload.php

application/controllers/admin/cmall/Itemhistory.php

application/controllers/admin/cmall/Linkclick.php

application/controllers/admin/cmall/Orderlist.php

application/controllers/admin/cmall/Qna.php

application/controllers/admin/cmall/Review.php

application/controllers/admin/cmall/Wishlist.php

application/controllers/admin/config/Cbversion.php

application/controllers/admin/config/Emailform.php

application/controllers/admin/config/Layoutskin.php

application/controllers/admin/config/Memberconfig.php

application/controllers/admin/config/Testemail.php

application/controllers/admin/deposit/Depositstat.php

application/controllers/admin/deposit/Emailform.php

application/controllers/admin/deposit/Pendingbank.php

application/controllers/admin/member/Members.php

application/controllers/admin/member/Points.php

application/helpers/basic_helper.php

application/libraries/Accesslevel.php

application/libraries/Cbconfig.php

application/libraries/Cmalllib.php

application/libraries/Depositlib.php

application/libraries/Managelayout.php

application/libraries/Member.php

application/models/Member_meta_model.php

views/_layout/*/layout.php

views/_layout/*/box/login.php

views/admin/basic/board/boardgroup/write.php

views/admin/basic/board/boards/index.php

views/admin/basic/board/boards/write.php

views/admin/basic/board/boards/write_access.php

views/admin/basic/board/boards/write_alarm.php

views/admin/basic/board/boards/write_category.php

views/admin/basic/board/boards/write_comment.php

views/admin/basic/board/boards/write_general.php

views/admin/basic/board/boards/write_list.php

views/admin/basic/board/boards/write_point.php

views/admin/basic/board/boards/write_post.php

views/admin/basic/board/boards/write_rss.php

views/admin/basic/board/boards/write_write.php

views/admin/basic/cmall/cmallitem/write.php

views/admin/basic/cmall/pendingbank/index.php

views/admin/basic/cmall/pendingbank/write.php

views/admin/basic/cmall/qna/write.php

views/admin/basic/cmall/review/write.php

views/admin/basic/config/cbconfigs/general.php

views/admin/basic/config/cbconfigs/index.php

views/admin/basic/config/cbconfigs/note.php

views/admin/basic/config/cbconfigs/point.php

views/admin/basic/config/cbversion/index.php

views/admin/basic/config/emailform/changepw.php

views/admin/basic/config/emailform/memberleave.php

views/admin/basic/config/emailform/register.php

views/admin/basic/config/memberconfig/*

views/admin/basic/css/style.css

views/admin/basic/deposit/depositlist/*

views/admin/basic/deposit/depositstat/index.php

views/admin/basic/deposit/depositstat/memberstat.php

views/admin/basic/deposit/depositstat/usestat.php

views/admin/basic/deposit/pendingbank/index.php

views/admin/basic/deposit/pendingbank/write.php

views/admin/basic/layout.php

views/admin/basic/main.php

views/admin/basic/member/members/excel.php

views/admin/basic/member/members/index.php

views/admin/basic/page/banner/group.php

views/admin/basic/page/banner/index.php

views/admin/basic/page/banner/write.php

views/admin/basic/page/faqgroup/index.php

views/board/*/comment_write.php

views/board/*/gallerylist.php

views/board/*/list.php

views/board/*/post.php

views/board/*/write.php

views/cmall/*/order.php

views/cmall/*/order_list.php

views/cmall/*/qna_write.php

views/cmall/*/review_write.php

views/deposit/*/deposit.php

views/deposit/*/deposit_result.php

views/deposit/*/deposit_to_point.php

views/deposit/*/mylist.php

views/deposit/*/point_to_deposit.php

views/helptool/*/post_change_category.php

views/levelup/*/levelup.php

views/mypage/*/member_modify.php

views/paymentlib/kcp/kcp_order_approval_form.php


[삭제된 파일]

application/config/cb_admin_menu.php

application/controllers/admin/cmall/Cmallconfig.php

application/controllers/admin/deposit/Depositconfig.php

application/controllers/admin/service/Attendanceconfig.php

application/controllers/admin/service/Levelupconfig.php

application/controllers/admin/service/Pointrankingconfig.php

application/controllers/admin/service/Pollconfig.php

application/controllers/admin/sms/Smsconfig.php

application/core/CB_Security.php

application/libraries/Cmallconfig.php

application/libraries/Depositconfig.php

application/migrations/20160327000000_selfcert.php

application/models/Cmall_config_model.php

application/models/Deposit_config_model.php

views/admin/basic/cmall/cmallconfig/*

views/admin/basic/config/memberconfig/selfcert.php

views/admin/basic/deposit/depositconfig/*

views/admin/basic/service/attendanceconfig/cleanlog.php

views/admin/basic/service/attendanceconfig/index.php

views/admin/basic/service/attendanceconfig/points.php

views/admin/basic/service/levelupconfig/index.php

views/admin/basic/service/pointrankingconfig/index.php

views/admin/basic/service/pollconfig/index.php

views/admin/basic/sms/smsconfig/index.php

views/install/upgrade.php

views/mypage/basic/selfcert.php

views/mypage/bootstrap/selfcert.php

views/mypage/mobile/selfcert.php

views/selfcert/kcb/*

views/selfcert/kcp/*

views/selfcert/lg/*



[추가된 파일]

application/config/admin_menu_000.php

application/config/admin_menu_100.php

application/config/admin_menu_200.php

application/config/admin_menu_300.php

application/config/admin_menu_400.php

application/config/admin_menu_500.php

application/config/admin_menu_600.php

application/config/admin_menu_700.php

application/config/admin_menu_800.php

application/controllers/admin/cmall/Cmallcfg.php

application/controllers/admin/deposit/Depositcfg.php

application/controllers/admin/service/Attendancecfg.php

application/controllers/admin/service/Levelupcfg.php

application/controllers/admin/service/Pointrankingcfg.php

application/controllers/admin/service/Pollcfg.php

application/controllers/admin/service/Selfcertcfg.php

application/controllers/admin/sms/Smscfg.php

application/libraries/Selfcertlib.php

views/admin/basic/cmall/cmallcfg/*

views/admin/basic/deposit/depositcfg/*

views/admin/basic/service/attendancecfg/*

views/admin/basic/service/levelupcfg/*

views/admin/basic/service/pointrankingcfg/*

views/admin/basic/service/pollcfg/*

views/admin/basic/service/selfcertcfg/*

views/admin/basic/sms/smscfg/*

views/selfcert/basic/*

views/selfcert/bootstrap/*

views/selfcert/mobile/*

views/selfcertplugins/*


[디비변경]

삭제된 테이블 : deposit_config, cmall_config

삭제된 컬럼 : post 테이블의 ppo_id


deposit_config, cmall_config 2개 테이블이 삭제되는 대신에 해당 내용이 config 테이블에 저장되도록 변경되었습니다. 이에 씨아이보드2를 사용하시는 분께서 3으로 업그레이드하신 경우에는 예치금환경설정, 컨텐츠몰환경설정 내용을 다시 설정하여 저장하여주시기 바랍니다.


데이터베이스 기본 캐릭터셋을 utf8 에서 utf8mb4 로 변경하였습니다.


[Indent 를 4spaces 에서 tab 으로 다시 변경]

PSR-2 권고사항에 따라 indent 를 위해 4spaces 를 유지하고 싶었으나, codeigniter3 뿐만 아니라 codeigniter4 도 tab 을 사용하여 indent 처리를 하고 있기에, tab 으로 회귀합니다.



위 에에도 수정된 내용이 조금 더 있을 터인데, 짧은 작업시간과 감을 회복하는데에 시간이 좀 걸려, 많은 것을 정리하지 못하였습니다.

혹시 업그레이드하시면서 문의사항이 있으시면 글을 남겨주시면 최대한 빨리 답변드리도록 하겠습니다.


감사합니다.