//可以是絕對位置,也可以是localhost的相對位置
$config['base_url'] = '/xxxx';
//一般我會預設根目錄資料夾
$config['base_url'] = 'hshop';
取得base_url的語法如下
<?php echo base_url() ?>
SESSION 設定
(可設可不設)
$config['sess_driver'] = 'database';
$config['sess_cookie_name'] = 'ci_session';
$config['sess_expiration'] = 7200;
$config['sess_save_path'] = NULL;
$config['sess_match_ip'] = FALSE;
$config['sess_time_to_update'] = 300;
$config['sess_regenerate_destroy'] = FALSE;
$config['sess_table_name'] = 'ci_sessions';