🔥码云GVP开源项目 12k star Uniapp+ElementUI 功能强大 支持多语言、二开方便! 广告
application:应用目录 |——common:公用模块 |——home:前台模块 |——admin:后台模块 |——install:安装模块 |——common.php:公共函数 config:配置文件 route:路由设置 data:数据 |——db:数据库备份 extend:自定义类库 public:资源文件 |——static:js、css、图片、字体 |——uploads:上传文件目录 |——admin.php:后台入口 |——index.php:前台入口 |——.htaccess:Apache重写规则 runtime:应用的运行时目录 thinkphp:thinkphp5框架 vendor:composer第三方类库 admin.php:后台入口 index.php:前台入口 .htaccess:Apache重写规则 Nginx.txt:nginx重写规则 httpd.ini:iis重写规则 * * * * * 以上结构在根目录和 public目录中都有入口文件。 建议在运行环境下将public作为web根目录,这样其他核心文件不暴露在发布目录下,对于系统安全有重大意义。