酒店预订平台
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

26 lines
1.1 KiB

  1. <?php
  2. // +----------------------------------------------------------------------
  3. // | ThinkPHP [ WE CAN DO IT JUST THINK ]
  4. // +----------------------------------------------------------------------
  5. // | Copyright (c) 2006~2016 http://thinkphp.cn All rights reserved.
  6. // +----------------------------------------------------------------------
  7. // | Licensed ( http://www.apache.org/licenses/LICENSE-2.0 )
  8. // +----------------------------------------------------------------------
  9. // | Author: liu21st <liu21st@gmail.com>
  10. // +----------------------------------------------------------------------
  11. return [
  12. // 生成应用公共文件
  13. '__file__' => ['hello.php', 'test.php'],
  14. // 定义demo模块的自动生成 (按照实际定义的文件名生成)
  15. 'demo' => [
  16. '__file__' => ['common.php'],
  17. '__dir__' => ['behavior', 'controller', 'model', 'view'],
  18. 'controller' => ['Index', 'Test', 'UserType'],
  19. 'model' => ['User', 'UserType'],
  20. 'view' => ['index/index'],
  21. ],
  22. // 其他更多的模块定义
  23. ];