1.3.3 에서 1.4.0 으로 업그레이드

참고

이 페이지의 지침은 버전 1.3.3을 실행하고 있다고 가정합니다. 해당 버전으로 먼저 업그레이드하지 않은 경우, 먼저 업그레이드하세요.

업데이트를 수행하기 전에 index.php 파일을 정적 파일로 교체하여 사이트를 오프라인 상태로 만들어야 합니다.

Step 1: CodeIgniter 파일 업데이트

“system” 폴더에서 다음 디렉터리를 새 버전으로 교체합니다:

참고

이 폴더에 사용자 정의 파일이 있는 경우, 먼저 복사본을 만들어 두세요.

  • application/config/hooks.php

  • application/config/mimes.php

  • codeigniter

  • drivers

  • helpers

  • init

  • language

  • libraries

  • scaffolding

Step 2: config.php 파일 업데이트

application/config/config.php 파일을 열고 다음 새 항목을 추가하세요:

/*
|--------------------------------------------------------------------------
| Enable/Disable System Hooks
|--------------------------------------------------------------------------
|
| If you would like to use the "hooks" feature you must enable it by
| setting this variable to TRUE (boolean).  See the user guide for details.
|
*/
$config['enable_hooks'] = FALSE;


/*
|--------------------------------------------------------------------------
| Allowed URL Characters
|--------------------------------------------------------------------------
|
| This lets you specify which characters are permitted within your URLs.
| When someone tries to submit a URL with disallowed characters they will
| get a warning message.
|
| As a security measure you are STRONGLY encouraged to restrict URLs to
| as few characters as possible.  By default only these are allowed: a-z 0-9~%.:_-
|
| Leave blank to allow all characters -- but only if you are insane.
|
| DO NOT CHANGE THIS UNLESS YOU FULLY UNDERSTAND THE REPERCUSSIONS!!
|
*/
$config['permitted_uri_chars'] = 'a-z 0-9~%.:_-';

Step 3: 사용자 가이드 업데이트

로컬에 보유한 사용자 가이드도 새 버전으로 교체해 주세요.