index.php 2.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. <?php
  2. /*
  3. |--------------------------------------------------------------------------
  4. | project project 写入到哪个project里,属于哪个项目,不填则为默认项目
  5. |--------------------------------------------------------------------------
  6. */
  7. //define('MAZE_PROJECT', 'default');
  8. /*
  9. |--------------------------------------------------------------------------
  10. | project name 项目名,一般为当前目录名,不定义则系统自动读取,如本项目为可复制且随意改名项目,则无需定义本常量
  11. |--------------------------------------------------------------------------
  12. */
  13. define('MAZE_PROJECT_NAME', 'manage');
  14. /*
  15. |--------------------------------------------------------------------------
  16. | project lang 项目中文名 描述
  17. |--------------------------------------------------------------------------
  18. */
  19. define('MAZE_PROJECT_LANG', '后台设置');
  20. /*
  21. |--------------------------------------------------------------------------
  22. | project lib 开放载入的类库名
  23. |--------------------------------------------------------------------------
  24. */
  25. define('MAZE_PROJECT_LIB', 'manage');
  26. /*
  27. |--------------------------------------------------------------------------
  28. | project path 项目路径
  29. |--------------------------------------------------------------------------
  30. */
  31. define('MAZE_PROJECT_PATH', dirname(__FILE__) . DIRECTORY_SEPARATOR);
  32. /*
  33. |--------------------------------------------------------------------------
  34. | project package 项目依赖的包,其他项目的name或者lib名
  35. |--------------------------------------------------------------------------
  36. */
  37. define('MAZE_PACKAGE', 'upload');
  38. /*
  39. |--------------------------------------------------------------------------
  40. | project order 项目排序
  41. |--------------------------------------------------------------------------
  42. */
  43. define('MAZE_PROJECT_ORDER', -1);
  44. /*
  45. |--------------------------------------------------------------------------
  46. | entry
  47. |--------------------------------------------------------------------------
  48. */
  49. include(MAZE_PROJECT_PATH . '../mazephp/boot.php');