path.php 3.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869
  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_DICT_" , __DIR__."/../tmp/appdata/dict");
  9. define("_DIR_DICT_SYSTEM_" , __DIR__."/../tmp/appdata/dict/system");
  10. define("_DIR_DICT_3RD_" , __DIR__."/../tmp/appdata/dict/3rd");
  11. define("_DIR_DICT_REF_" , __DIR__."/../tmp/appdata/dict/ref");
  12. define("_DIR_USERS_GUIDE_" , __DIR__."/../documents/users_guide");
  13. define("_FILE_DB_REF_" , __DIR__."/../tmp/appdata/dict/system/ref.db");
  14. define("_FILE_DB_REF_INDEX_" , __DIR__."/../tmp/appdata/dict/system/ref1.db");
  15. define("_FILE_DB_PART_" , __DIR__."/../tmp/appdata/dict/system/part.db3");
  16. define("_DIR_FONT_" , __DIR__."/../font");
  17. define("_DIR_PALI_HTML_" , __DIR__."/../palihtml");
  18. define("_DIR_DICT_TEXT_" , __DIR__."/../dicttext");
  19. define("_DIR_PALI_TITLE_" , __DIR__."/../pali_title");
  20. define("_DIR_APP_" , __DIR__."/../app");
  21. define("_DIR_LANGUAGE_" , __DIR__."/../app/public/lang");
  22. define("_DIR_BOOK_INDEX_" , __DIR__."/../app/public/book_index");
  23. //语料库
  24. define("_DIR_CSV_PALI_CANON_WORD_" , __DIR__."/../paliword/book");
  25. define("_DIR_CSV_PALI_CANON_WORD_INDEX_" , __DIR__."/../paliword/index");
  26. define("_DIR_PALI_CSV_" , __DIR__."/../tmp/palicsv");
  27. define("_DIR_LOG_" , __DIR__."/../tmp/log");
  28. define("_DIR_TEMP_" , __DIR__."/../tmp/temp");
  29. //pali canon db file
  30. define("_FILE_DB_RES_INDEX_" , __DIR__."/../tmp/appdata/palicanon/res.db3");
  31. define("_FILE_DB_PALITEXT_" , __DIR__."/../tmp/appdata/palicanon/pali_text.db3");
  32. define("_FILE_DB_STATISTICS_" , __DIR__."/../tmp/appdata/palicanon/word_statistics.db3");
  33. define("_FILE_DB_PALI_SENTENCE_" , __DIR__."/../tmp/appdata/palicanon/pali_sent.db3");
  34. define("_FILE_DB_INDEX_" , __DIR__."/../tmp/appdata/palicanon/index.db3");
  35. define("_FILE_DB_WORD_INDEX_" , __DIR__."/../tmp/appdata/palicanon/wordindex.db3");
  36. define("_FILE_DB_PALI_INDEX_" , __DIR__."/../tmp/appdata/palicanon/paliindex.db3");
  37. define("_FILE_DB_BOOK_WORD_" , __DIR__."/../tmp/appdata/palicanon/bookword.db3");
  38. define("_FILE_DB_BOLD_" , __DIR__."/../tmp/appdata/palicanon/bold.db3");
  39. /*user data*/
  40. define("_DIR_USER_BASE_" , __DIR__."/../tmp/user");
  41. define("_DIR_USER_IMG_" , __DIR__."/../tmp/user/media/3");
  42. define("_DIR_USER_IMG_LINK_" , "../../tmp/user/media/3");
  43. define("_DIR_MYDOCUMENT_" , "/my_document");
  44. define("_FILE_DB_USER_WBW_" , __DIR__."/../tmp/user/user_wbw.db3");
  45. define("_FILE_DB_COMMENTS_" , __DIR__."/../tmp/user/comments.db3");
  46. define("_FILE_DB_SENTENCE_" , __DIR__."/../tmp/user/sentence.db3");
  47. define("_FILE_DB_TERM_" , __DIR__."/../tmp/user/dhammaterm.db");
  48. define("_FILE_DB_GROUP_" , __DIR__."/../tmp/user/group.db3");
  49. define("_FILE_DB_USERINFO_" , __DIR__."/../tmp/user/userinfo.db3");
  50. define("_FILE_DB_FILEINDEX_" , __DIR__."/../tmp/user/fileindex.db");
  51. define("_FILE_DB_WBW_" , __DIR__."/../tmp/user/wbw.db3");
  52. define("_FILE_DB_COURSE_" , __DIR__."/../tmp/user/course.db3");
  53. define("_FILE_DB_MEDIA_" , __DIR__."/../tmp/user/media.db3");
  54. define("_FILE_DB_MESSAGE_" , __DIR__."/../tmp/user/message.db");
  55. define("_FILE_DB_USER_STATISTICS_" , __DIR__."/../tmp/user/statistics.db3");
  56. ?>