框架: CodeIgniter
基础模型: CodeIgniter-MY_Model
数据源: bangumi-data
apache可以直接使用.htaccess, nginx请自行设置
我只上传了application部分的文件, CodeIgniter的主文件请自行下载
导入 sql/table.sql
$db['default'] = array(
'dsn' => '',
'hostname' => 'localhost', // MySQL地址
'username' => 'root', // MySQL用户
'password' => '12345678', // MySQl密码
'database' => 'bangumi', // MySQL数据库
'dbdriver' => 'mysqli',
'dbprefix' => '',
'pconnect' => FALSE,
'db_debug' => (ENVIRONMENT !== 'production'),
'cache_on' => FALSE,
'cachedir' => '',
'char_set' => 'utf8mb4',
'dbcollat' => 'utf8mb4_general_ci',
'swap_pre' => '',
'encrypt' => FALSE,
'compress' => FALSE,
'stricton' => FALSE,
'failover' => array(),
'save_queries' => TRUE
);
$config["github_user"] = ""; // github用户
$config["github_token"] = ""; // github token