12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394 |
- <?php
- defined('IN_IA') or exit('Access Denied');
-
- $config = array();
-
- //dev
- $config['db']['master']['host'] = 'rm-wz9rg531npf61q03tro.mysql.rds.aliyuncs.com';
- $config['db']['master']['username'] = 'root';
- $config['db']['master']['password'] = '1Q2W3e4r!@#$';
- $config['db']['master']['port'] = '3306';
- $config['db']['master']['database'] = 'renren_dev';
- $config['db']['master']['charset'] = 'utf8mb4';
- $config['db']['master']['pconnect'] = 0;
- $config['db']['master']['tablepre'] = 'ims_';
-
- $config['other_db']['sgj_user']['host'] = 'rm-wz9rg531npf61q03tro.mysql.rds.aliyuncs.com';
- $config['other_db']['sgj_user']['username'] = 'root';
- $config['other_db']['sgj_user']['password'] = '1Q2W3e4r!@#$';
- $config['other_db']['sgj_user']['port'] = '3306';
- $config['other_db']['sgj_user']['database'] = 'sgj_users';
- $config['other_db']['sgj_user']['charset'] = 'utf8mb4';
- $config['other_db']['sgj_user']['pconnect'] = 0;
- $config['other_db']['sgj_user']['tablepre'] = '';
-
- $config['fxtokenkey'] = 'kN*5&AHqLP7&IGRKvHoElJm*2YY6Nw*QSScJ4ff&DH&ofGnbfQIks1A1NT9AbIDB';
-
- //prod
- // $config['db']['master']['host'] = 'shengws2015.mysql.rds.aliyuncs.com';
- // $config['db']['master']['username'] = 'syh';
- // $config['db']['master']['password'] = 'xhPECP2nFObR8aUK';
- // $config['db']['master']['port'] = '3306';
- // $config['db']['master']['database'] = 'renren';
- // $config['db']['master']['charset'] = 'utf8mb4';
- // $config['db']['master']['pconnect'] = 0;
- // $config['db']['master']['tablepre'] = 'ims_';
-
- // $config['other_db']['sgj_user']['host'] = 'shengws2015.mysql.rds.aliyuncs.com';
- // $config['other_db']['sgj_user']['username'] = 'syh';
- // $config['other_db']['sgj_user']['password'] = 'xhPECP2nFObR8aUK';
- // $config['other_db']['sgj_user']['port'] = '3306';
- // $config['other_db']['sgj_user']['database'] = 'sgj_users';
- // $config['other_db']['sgj_user']['charset'] = 'utf8mb4';
- // $config['other_db']['sgj_user']['pconnect'] = 0;
- // $config['other_db']['sgj_user']['tablepre'] = '';
-
- // $config['fxtokenkey'] = '8&o!5VSz^iWe*PzhDogC5%m*S$ZlyB3c%5R4CrWjTwJJSJdEbop6do@eFR*7deTY';
-
- $config['db']['slave_status'] = false;
- $config['db']['slave']['1']['host'] = '';
- $config['db']['slave']['1']['username'] = '';
- $config['db']['slave']['1']['password'] = '';
- $config['db']['slave']['1']['port'] = '3307';
- $config['db']['slave']['1']['database'] = '';
- $config['db']['slave']['1']['charset'] = 'utf8';
- $config['db']['slave']['1']['pconnect'] = 0;
- $config['db']['slave']['1']['tablepre'] = 'ims_';
- $config['db']['slave']['1']['weight'] = 0;
-
- $config['db']['common']['slave_except_table'] = array('core_sessions');
-
- // -------------------------- CONFIG COOKIE --------------------------- //
- $config['cookie']['pre'] = '0b3f_';
- $config['cookie']['domain'] = '';
- $config['cookie']['path'] = '/';
-
- // -------------------------- CONFIG SETTING --------------------------- //
- $config['setting']['charset'] = 'utf-8';
- $config['setting']['cache'] = 'mysql';
- $config['setting']['timezone'] = 'Asia/Shanghai';
- $config['setting']['memory_limit'] = '256M';
- $config['setting']['filemode'] = 0644;
- $config['setting']['authkey'] = 'db2a5959';
- $config['setting']['founder'] = '1';
- $config['setting']['development'] = 0;
- $config['setting']['referrer'] = 0;
-
- // -------------------------- CONFIG UPLOAD --------------------------- //
- $config['upload']['image']['extentions'] = array('gif', 'jpg', 'jpeg', 'png');
- $config['upload']['image']['limit'] = 5000;
- $config['upload']['attachdir'] = 'attachment';
- $config['upload']['audio']['extentions'] = array('mp3');
- $config['upload']['audio']['limit'] = 5000;
-
- // -------------------------- CONFIG MEMCACHE --------------------------- //
- $config['setting']['memcache']['server'] = '';
- $config['setting']['memcache']['port'] = 11211;
- $config['setting']['memcache']['pconnect'] = 1;
- $config['setting']['memcache']['timeout'] = 30;
- $config['setting']['memcache']['session'] = 1;
-
- // -------------------------- CONFIG PROXY --------------------------- //
- $config['setting']['proxy']['host'] = '';
- $config['setting']['proxy']['auth'] = '';
|