index.php 1.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. <?php
  2. /*
  3. |--------------------------------------------------------------------------
  4. | project project 写入到哪个project里,属于哪个项目,不填则为默认项目
  5. |--------------------------------------------------------------------------
  6. */
  7. //define('DEVER_PROJECT', 'default');
  8. /*
  9. |--------------------------------------------------------------------------
  10. | app name 项目名,一般为当前目录名,不定义则系统自动读取,如本项目为可复制且随意改名项目,则无需定义本常量
  11. |--------------------------------------------------------------------------
  12. */
  13. define('DEVER_APP_NAME', 'message');
  14. /*
  15. |--------------------------------------------------------------------------
  16. | app lang 项目中文名 描述
  17. |--------------------------------------------------------------------------
  18. */
  19. define('DEVER_APP_LANG', '消息系统');
  20. /*
  21. |--------------------------------------------------------------------------
  22. | app lib 开放载入的类库名
  23. |--------------------------------------------------------------------------
  24. */
  25. define('DEVER_APP_LIB', 'message');
  26. /*
  27. |--------------------------------------------------------------------------
  28. | app path
  29. |--------------------------------------------------------------------------
  30. */
  31. define('DEVER_APP_PATH', dirname(__FILE__) . DIRECTORY_SEPARATOR);
  32. /*
  33. |--------------------------------------------------------------------------
  34. | app order 排序
  35. |--------------------------------------------------------------------------
  36. */
  37. define('DEVER_APP_ORDER', -6);
  38. /*
  39. |--------------------------------------------------------------------------
  40. | app icon
  41. |--------------------------------------------------------------------------
  42. */
  43. define('DEVER_APP_ICON', 'glyphicon glyphicon-dashboard');
  44. /*
  45. |--------------------------------------------------------------------------
  46. | entry
  47. |--------------------------------------------------------------------------
  48. */
  49. include(DEVER_APP_PATH . '../boot.php');