PageRenderTime 49ms CodeModel.GetById 25ms RepoModel.GetById 0ms app.codeStats 0ms

/protected/config/define.php

https://github.com/smarteng/onenoteme
PHP | 34 lines | 29 code | 4 blank | 1 comment | 0 complexity | 4676b26fd72d1ad929dd1034f3c5e27e MD5 | raw file
  1. <?php
  2. define('CD_YES', 1);
  3. define('CD_NO', 0);
  4. define('CHANNEL_DUANZI', 0);
  5. define('CHANNEL_LENGTU', 20);
  6. define('CHANNEL_GIRL', 30);
  7. define('CHANNEL_VIDEO', 40);
  8. // 以下是表名
  9. define('TABLE_POST', '{{post}}');
  10. define('TABLE_POST_TEMP', '{{post_temp}}');
  11. define('TABLE_WEIBO_ACCOUNT', '{{weibo_account}}');
  12. define('TABLE_USER', '{{user}}');
  13. define('TABLE_USER_PROFILE', '{{user_profile}}');
  14. define('TABLE_COMMENT', '{{comment}}');
  15. define('TABLE_IOS_DEVICE', '{{ios_device}}');
  16. define('TABLE_TAG', '{{tag}}');
  17. define('TABLE_POST_TAG', '{{post_tag}}');
  18. define('TABLE_MOVIE_SETS', '{{movie_sets}}');
  19. define('TABLE_POST_FAVORITE', '{{post_favorite}}');
  20. define('TABLE_WEIBO_ID', '{{weibo_id}}');
  21. define('POST_STATE_ENABLED', 1);
  22. define('POST_STATE_DISABLED', 0);
  23. define('COMMENT_STATE_ENABLED', 1);
  24. define('COMMENT_STATE_DISABLED', 0);
  25. define('WEIBO_APP_KEY', '2981913360');
  26. define('WEIBO_APP_SECRET', 'f06fd0b530f3d9daa56db67e5e8610e1');
  27. define('QQT_APP_KEY', '801080691');
  28. define('QQT_APP_SECRET', '4e0c4ac86b36120efac4c44a9ac9e895');
  29. define('NETEASE_APP_KEY', 'owJBrlLb37BqS3ys');
  30. define('NETEASE_APP_SECRET', 'AOhuaddTejvDUaM1xuFI3SDZ0RNipYt5');