php github怎么用,GitHub - phoenixhu/blog: 使用thinkphp5开发的简单博客程序

EG-Blog管理系统

EG-Blog是一款简单优雅的文章管理系统,采用thinkphp5.0框架编写,前端采用bootstrap框架,

这个项目是作者根据一些教程和文档开发出来的,所以很多功能都不是很完善或者存在某些bug,请多多赐教!

03337aa2f4fdbd375b4b93cdcc09e1fc.png

d1ee28e95c65bfce8e39a57132c60de1.png

736e44842f2ef2a397d11984f3d9f06b.png

目录结构

重要目录结构如下:

www WEB部署目录(或者子目录)

─application 应用目录

│ │ common.php 公共函数文件

│ │ config.php 公共配置文件

│ │ database.php 数据库配置文件

│ │ route.php 路由配置文件

│ │

│ ├─admin 后台模块

│ │ │ common.php 模块函数文件

│ │ │ config.php 模块配置文件

│ │ │

│ │ ├─controller 后台控制器

│ │ │ Admin.php 管理员

│ │ │ Article.php 文章

│ │ │ Base.php 判断是否登录

│ │ │ Cate.php 栏目

│ │ │ Index.php 后台主页

│ │ │ Links.php 链接

│ │ │ Login.php 登录

│ │ │ Logo.php logo

│ │ │ Tags.php 热门标签

│ │ │

│ │ ├─model 后台模型

│ │ │ Admin.php

│ │ │ Article.php

│ │ │ Cate.php

│ │ │ Links.php

│ │ │

│ │ ├─validate 后台验证器

│ │ │ Admin.php

│ │ │ Article.php

│ │ │ Cate.php

│ │ │ Links.php

│ │ │ Logo.php

│ │ │ Tags.php

│ │ │

│ │ └─view 后台模板

│ │ ├─admin

│ │ │ add.htm

│ │ │ edit.htm

│ │ │ list.htm

│ │ │

│ │ ├─article

│ │ │ add.htm

│ │ │ edit.htm

│ │ │ list.htm

│ │ │

│ │ ├─cate

│ │ │ add.htm

│ │ │ edit.htm

│ │ │ list.htm

│ │ │

│ │ ├─common

│ │ │ left.htm

│ │ │ top.htm

│ │ │

│ │ ├─index

│ │ │ index.htm

│ │ │

│ │ ├─links

│ │ │ add.htm

│ │ │ edit.htm

│ │ │ list.htm

│ │ │

│ │ ├─login

│ │ │ login.htm

│ │ │

│ │ ├─logo

│ │ │ index.htm

│ │ │

│ │ └─tags

│ │ add.htm

│ │ edit.htm

│ │ list.htm

│ │

│ └─index 前台模板

│ │ common.php 前台函数文件

│ │ config.php 前台配置文件

│ │

│ ├─controller 前台控制器

│ │ Article.php 文章

│ │ Base.php 公共及右侧

│ │ Cate.php 栏目

│ │ Index.php 主页

│ │ Search.php 查询

│ │

│ └─view 前台模板

│ ├─article

│ │ article.html

│ │

│ ├─cate

│ │ cate.html

│ │

│ ├─common

│ │ foot.html

│ │ header.html

│ │ right.html

│ │

│ ├─index

│ │ index.html

│ │

│ └─search

│ search.html

安装和演示

安装:导入根目录下的blog.sql文件,然后修改application/database.php文件中的数据库信息;

账号密码:admin admin

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值