/protected/config/define.php
PHP | 34 lines | 29 code | 4 blank | 1 comment | 0 complexity | 4676b26fd72d1ad929dd1034f3c5e27e MD5 | raw file
- <?php
- define('CD_YES', 1);
- define('CD_NO', 0);
- define('CHANNEL_DUANZI', 0);
- define('CHANNEL_LENGTU', 20);
- define('CHANNEL_GIRL', 30);
- define('CHANNEL_VIDEO', 40);
- // 以下是表名
- define('TABLE_POST', '{{post}}');
- define('TABLE_POST_TEMP', '{{post_temp}}');
- define('TABLE_WEIBO_ACCOUNT', '{{weibo_account}}');
- define('TABLE_USER', '{{user}}');
- define('TABLE_USER_PROFILE', '{{user_profile}}');
- define('TABLE_COMMENT', '{{comment}}');
- define('TABLE_IOS_DEVICE', '{{ios_device}}');
- define('TABLE_TAG', '{{tag}}');
- define('TABLE_POST_TAG', '{{post_tag}}');
- define('TABLE_MOVIE_SETS', '{{movie_sets}}');
- define('TABLE_POST_FAVORITE', '{{post_favorite}}');
- define('TABLE_WEIBO_ID', '{{weibo_id}}');
- define('POST_STATE_ENABLED', 1);
- define('POST_STATE_DISABLED', 0);
- define('COMMENT_STATE_ENABLED', 1);
- define('COMMENT_STATE_DISABLED', 0);
- define('WEIBO_APP_KEY', '2981913360');
- define('WEIBO_APP_SECRET', 'f06fd0b530f3d9daa56db67e5e8610e1');
- define('QQT_APP_KEY', '801080691');
- define('QQT_APP_SECRET', '4e0c4ac86b36120efac4c44a9ac9e895');
- define('NETEASE_APP_KEY', 'owJBrlLb37BqS3ys');
- define('NETEASE_APP_SECRET', 'AOhuaddTejvDUaM1xuFI3SDZ0RNipYt5');