base.php 665 B

123456789101112131415161718192021222324252627282930313233343536
  1. <?php
  2. # 一些基本配置
  3. $config['base'] = array
  4. (
  5. );
  6. $config['template'] = array
  7. (
  8. # 静态页面目录
  9. 'assets' => 'mobile',
  10. # 模板编译器目录
  11. 'template' => 'mobile',
  12. # 模板html文件的所在目录,默认为html
  13. 'path' => '',
  14. 'replace' => array
  15. (
  16. 'css' => 'css/',
  17. 'js' => 'js/',
  18. 'images' => 'images/',
  19. ),
  20. # 编译器与模板对应关系目录,定义之后,代表可以完全不改动前端的代码,可以为空,为空则一一对应,参考manage
  21. 'relation' => array
  22. (
  23. # 首页启动屏幕
  24. 'home' => 'index',
  25. ),
  26. );
  27. return $config;