index.php 2.0 KB

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