98 Star 426 Fork 89

eacoo / EacooPHP

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
build.php 1.90 KB
一键复制 编辑 原始数据 按行查看 历史
eacoo 提交于 2017-09-08 17:17 . 创建EacooPHP系统
<?php
// +----------------------------------------------------------------------
// | ThinkPHP [ WE CAN DO IT JUST THINK ]
// +----------------------------------------------------------------------
// | Copyright (c) 2006~2016 http://thinkphp.cn All rights reserved.
// +----------------------------------------------------------------------
// | Licensed ( http://www.apache.org/licenses/LICENSE-2.0 )
// +----------------------------------------------------------------------
// | Author: liu21st <liu21st@gmail.com>
// +----------------------------------------------------------------------
return [
// 生成应用公共文件
'__file__' => ['common.php', 'config.php', 'database.php'],
// // 定义demo模块的自动生成 (按照实际定义的文件名生成)
// 'Admin' => [
// '__file__' => ['common.php','config.php'],
// '__dir__' => ['behavior', 'controller', 'model', 'view','validate'],
// 'controller' => ['Index', 'Access','System'],
// 'model' => ['AuthGroup','AuthGroupAccess','Config','Member'],
// 'view' => [],
// ],
// // 定义demo模块的自动生成 (按照实际定义的文件名生成)
// 'common' => [
// '__file__' => ['common.php'],
// '__dir__' => ['behavior', 'controller', 'model', 'view'],
// 'controller' => ['Base', 'Admin', 'Api', 'Fornt','Upload', 'User'],
// 'model' => ['Common', 'Hooks','User','Tree'],
// 'view' => [],
// ],
// 定义demo模块的自动生成 (按照实际定义的文件名生成)
'User' => [
'__file__' => ['common.php','config.php'],
'__dir__' => ['behavior', 'controller', 'model', 'view','validate'],
'controller' => ['Index'],
'model' => ['User'],
'view' => [],
],
// 其他更多的模块定义
];
PHP
1
https://gitee.com/ZhaoJunfeng/EacooPHP.git
git@gitee.com:ZhaoJunfeng/EacooPHP.git
ZhaoJunfeng
EacooPHP
EacooPHP
master

搜索帮助