path.php 4.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889
  1. <?php
  2. define("_DIR_APPDATA_" , __DIR__."/../tmp/appdata");
  3. define("_DIR_PALICANON_" , __DIR__."/../tmp/appdata/palicanon");
  4. define("_DIR_PALICANON_TEMPLET_" , __DIR__."/../tmp/appdata/palicanon/templet");
  5. define("_DIR_PALICANON_PALITEXT_" , __DIR__."/../tmp/appdata/palicanon/pali_text");
  6. define("_DIR_PALICANON_WBW_" , __DIR__."/../tmp/appdata/palicanon/wbw");
  7. define("_DIR_PALICANON_TRAN_" , __DIR__."/../tmp/appdata/palicanon/translate");
  8. define("_DIR_IMAGES_" , __DIR__."/../tmp/images");
  9. define("_DIR_IMAGES_ARTICLE_" , __DIR__."/../tmp/images/article");
  10. define("_DIR_IMAGES_COLLECTION_" , __DIR__."/../tmp/images/collection");
  11. define("_DIR_IMAGES_COURSE_" , __DIR__."/../tmp/images/course");
  12. define("_DIR_IMAGES_COURSE_A_" , "../../tmp/images/course");
  13. define("_DIR_IMAGES_LESSON_" , __DIR__."/../tmp/images/lesson");
  14. //pali canon db file 语料库
  15. define("_FILE_DB_RESRES_INDEX_" , __DIR__."/../tmp/appdata/palicanon/res.db3");
  16. define("_FILE_DB_PALITEXT_" , __DIR__."/../tmp/appdata/palicanon/pali_text.db3");
  17. define("_FILE_DB_STATISTICS_" , __DIR__."/../tmp/appdata/palicanon/word_statistics.db3");
  18. define("_FILE_DB_PALI_SENTENCE_" , __DIR__."/../tmp/appdata/palicanon/pali_sent.db3");
  19. define("_FILE_DB_PALI_SENTENCE_SIM_" , __DIR__."/../tmp/appdata/palicanon/pali_sim.db3");
  20. //define("_FILE_DB_PALI_SENTENCE_SIM_" , __DIR__."/../tmp/appdata/palicanon/pali_sent_sim.db3");
  21. define("_FILE_DB_INDEX_" , __DIR__."/../tmp/appdata/palicanon/index.db3");
  22. define("_FILE_DB_WORD_INDEX_" , __DIR__."/../tmp/appdata/palicanon/wordindex.db3");
  23. define("_FILE_DB_PALI_INDEX_" , __DIR__."/../tmp/appdata/palicanon/paliindex.db3");
  24. define("_FILE_DB_PAGE_INDEX_" , __DIR__."/../tmp/appdata/palicanon/pagemap.db3");
  25. define("_FILE_DB_BOOK_WORD_" , __DIR__."/../tmp/appdata/palicanon/bookword.db3");
  26. define("_FILE_DB_BOLD_" , __DIR__."/../tmp/appdata/palicanon/bold.db3");
  27. //语料库
  28. define("_DIR_CSV_PALI_CANON_WORD_" , __DIR__."/../paliword/book");
  29. define("_DIR_CSV_PALI_CANON_WORD_INDEX_" , __DIR__."/../paliword/index");
  30. define("_DIR_PALI_CSV_" , __DIR__."/../tmp/palicsv");
  31. define("_DIR_LOG_" , __DIR__."/../tmp/log");
  32. define("_DIR_TEMP_" , __DIR__."/../tmp/temp");
  33. define("_DIR_TMP_" , __DIR__."/../tmp");
  34. //dictionary
  35. define("_DIR_DICT_" , __DIR__."/../tmp/appdata/dict");
  36. define("_DIR_DICT_SYSTEM_" , __DIR__."/../tmp/appdata/dict/system");
  37. define("_DIR_DICT_3RD_" , __DIR__."/../tmp/appdata/dict/3rd");
  38. define("_DIR_DICT_REF_" , __DIR__."/../tmp/appdata/dict/ref");
  39. define("_DIR_USERS_GUIDE_" , __DIR__."/../documents/users_guide");
  40. define("_FILE_DB_REF_" , __DIR__."/../tmp/appdata/dict/system/ref.db");
  41. define("_FILE_DB_REF_INDEX_" , __DIR__."/../tmp/appdata/dict/system/ref1.db");
  42. define("_FILE_DB_PART_" , __DIR__."/../tmp/appdata/dict/system/part.db3");
  43. define("_DIR_FONT_" , __DIR__."/../font");
  44. define("_DIR_PALI_HTML_" , __DIR__."/../palihtml");
  45. define("_DIR_DICT_TEXT_" , __DIR__."/../dicttext");
  46. define("_DIR_PALI_TITLE_" , __DIR__."/../pali_title");
  47. define("_DIR_APP_" , __DIR__."/../app");
  48. define("_DIR_LANGUAGE_" , __DIR__."/../app/public/lang");
  49. define("_DIR_BOOK_INDEX_" , __DIR__."/../app/public/book_index");
  50. /*user data*/
  51. define("_DIR_USER_BASE_" , __DIR__."/../tmp/user");
  52. define("_DIR_USER_IMG_" , __DIR__."/../tmp/user/media/3");
  53. define("_DIR_USER_IMG_LINK_" , "../../tmp/user/media/3");
  54. define("_DIR_MYDOCUMENT_" , "/my_document");
  55. define("_FILE_DB_USER_WBW_" , __DIR__."/../tmp/user/user_wbw.db3");
  56. define("_FILE_DB_COMMENTS_" , __DIR__."/../tmp/user/comments.db3");
  57. define("_FILE_DB_SENTENCE_" , __DIR__."/../tmp/user/sentence.db3");
  58. define("_FILE_DB_TERM_" , __DIR__."/../tmp/user/dhammaterm.db");
  59. define("_FILE_DB_GROUP_" , __DIR__."/../tmp/user/group.db3");
  60. define("_FILE_DB_USERINFO_" , __DIR__."/../tmp/user/userinfo.db3");
  61. define("_FILE_DB_FILEINDEX_" , __DIR__."/../tmp/user/fileindex.db");
  62. define("_FILE_DB_WBW_" , __DIR__."/../tmp/user/wbw.db3");
  63. define("_FILE_DB_COURSE_" , __DIR__."/../tmp/user/course.db3");
  64. define("_FILE_DB_MEDIA_" , __DIR__."/../tmp/user/media.db3");
  65. define("_FILE_DB_MESSAGE_" , __DIR__."/../tmp/user/message.db");
  66. define("_FILE_DB_USER_STATISTICS_" , __DIR__."/../tmp/user/statistics.db3");
  67. define("_FILE_DB_CHANNAL_" , __DIR__."/../tmp/user/channal.db3");
  68. define("_FILE_DB_USER_DICT_" , __DIR__."/../tmp/user/udict.db3");
  69. define("_FILE_DB_USER_ARTICLE_" , __DIR__."/../tmp/user/article.db3");
  70. define("_FILE_DB_HOSTSETTING_" , __DIR__."/../tmp/user/hostsetting.db3");
  71. define("_FILE_DB_USER_SENTENCE_HISTORAY_" , __DIR__."/../tmp/user/usent_historay.db3");
  72. define("_FILE_DB_USER_ACTIVE_" , __DIR__."/../tmp/user/user_active.db3");
  73. ?>