index.php 1.7 KB

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