베타 1.0 에서 베타 1.1 로 업그레이드¶
베타 1.1 로 업그레이드하려면 다음 단계를 수행하세요:
Step 1: index 파일 교체¶
메인 index.php 파일을 새 index.php 파일로 교체하세요. 참고: “system” 폴더의 이름을 변경한 경우 새 파일에서 해당 정보를 수정해야 합니다.
Step 2: config 폴더 이동¶
이 버전의 CodeIgniter 는 이제 여러 “애플리케이션” 세트가 공통 백엔드 파일을 공유할 수 있습니다. 각 애플리케이션이 자체 설정 값을 가질 수 있도록, 설정 디렉터리는 이제 application 폴더 안에 있어야 하므로 해당 폴더로 이동하세요.
Step 3: 디렉터리 교체¶
다음 디렉터리를 새 버전으로 교체하세요:
drivers
helpers
init
libraries
scaffolding
Step 4: 달력 언어 파일 추가¶
새 캘린더 클래스에 해당하는 새 언어 파일이 있으며, 이를 language 폴더에 추가해야 합니다. 다음 항목을 버전에 추가하세요: language/english/calendar_lang.php
Step 5: config 파일 수정¶
원래 application/config/config.php 파일에 오타가 있습니다. 파일을 열고 쿠키 관련 항목을 찾으세요:
$conf['cookie_prefix'] = "";
$conf['cookie_domain'] = "";
$conf['cookie_path'] = "/";
배열 이름을 $conf 에서 $config 로 다음과 같이 변경하세요:
$config['cookie_prefix'] = "";
$config['cookie_domain'] = "";
$config['cookie_path'] = "/";
마지막으로 config 파일에 다음 새 항목을 추가하고 (필요하면 옵션 수정):
/*
|------------------------------------------------
| URI PROTOCOL
|------------------------------------------------
|
| This item determines which server global
| should be used to retrieve the URI string. The
| default setting of "auto" works for most servers.
| If your links do not seem to work, try one of
| the other delicious flavors:
|
| 'auto' Default - auto detects
| 'path_info' Uses the PATH_INFO
| 'query_string' Uses the QUERY_STRING
*/
$config['uri_protocol'] = "auto";