thinkphp5.0 build.php自动创建模块目录和文件
在入口文件index.php加入以下代码
//创建模块文件目录,Build区分大小写;;
\think\Build::module('help');
echo '自动创建模块目录,成功!';
自动创建目录:
controller/Index.php;
model;
view;
common.php;
config.php;
PHP&ECHARTS智能化私有部署解决方案
在入口文件index.php加入以下代码
//创建模块文件目录,Build区分大小写;;
\think\Build::module('help');
echo '自动创建模块目录,成功!';
自动创建目录:
controller/Index.php;
model;
view;
common.php;
config.php;