«   2017/12   »
          1 2
3 4 5 6 7 8 9
10 11 12 13 14 15 16
17 18 19 20 21 22 23
24 25 26 27 28 29 30
31            
Archives
Today
110
Total
1,029,860
관리 메뉴

Blue Breeze

composer codeigniter 본문

Framework/PHP-CodeIgniter

composer codeigniter

푸른바람 푸른_바람 2016.04.12 00:02

Composer, CodeIgniter 설치 및 설정

# https://packagist.org   codeigniter 검색
# composer 검색
composer search codeigniter

# codeigniter 설치
composer require codeigniter/framework

# codeigniter 설정
cp vendor/codeigniter/framework/index.php .
cp -r vendor/codeigniter/framework/application/ .

# index.php 설정
$system_path = 'vendor/codeigniter/framework/system';
$application_folder = 'application';

# application/config/config.php 설정
$config['composer_autoload'] = 'vendor/autoload.php';

.htaccess 설정

RewriteEngine On
RewriteBase /
RewriteCond $1 !^(index\.php|images|captcha|data|include|uploads|robots\.txt)
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ /index.php/$1 [L]
신고
0 Comments
댓글쓰기 폼