+ -
当前位置:首页 → 问答吧 → aqadmin通用后台1.2

aqadmin通用后台1.2

时间:2012-07-20

来源:互联网

本帖最后由 aqsmoke 于 2012-7-20 16:10 编辑

php爱好者,通用技术交流 QQ群  : 178940984

此次升级 :

其实在上一个版本就支持位每个用户设置权限。 功能管理的图片,可以见上方。

2、支持位每个功能设置所在的数据库。当时就想,如果有两个小功能要用通用后台去做,但是两个小功能都在不同的库里 这样就要上传两份通用后台代码 。 特别麻烦。 所以我就做了一个功能可以为每个小功能设置所在数据库。

// 配置每个功能所对应的数据库。
$hostArr = array(
‘cate’ => array(
‘host’ => ‘localhost’,
‘user’ => ‘root’,
‘pw’ => ”,
‘db’ => ‘aqadmintest’,
‘charset’ => ‘utf-8′
),
‘topic’ => array(
‘host’ => ‘localhost’,
‘user’ => ‘root’,
‘pw’ => ”,
‘db’ => ‘aqadmintest’,
‘charset’ => ‘utf-8′
),
‘single’ => array(
‘host’ => ‘localhost’,
‘user’ => ‘root’,
‘pw’ => ”,
‘db’ => ‘aqadmintest’,
‘charset’ => ‘utf-8′
),
‘email’ => array(
‘host’ => ‘localhost’,
‘user’ => ‘root’,
‘pw’ => ”,
‘db’ => ‘aqadmintest’,
‘charset’ => ‘utf-8′
),
‘indexList’ => array(
‘host’ => ‘localhost’,
‘user’ => ‘root’,
‘pw’ => ”,
‘db’ => ‘aqadmintest’,
‘charset’ => ‘utf-8′
),
‘member’ => array(
‘host’ => ‘localhost’,
‘user’ => ‘root’,
‘pw’ => ”,
‘db’ => ‘aqadmintest’,
‘charset’ => ‘utf-8′
),
‘MissChina’ => array(
‘host’ => ‘localhost’,
‘user’ => ‘root’,
‘pw’ => ”,
‘db’ => ‘aqadmintest’,
‘charset’ => ‘utf-8′
),
‘thinkNode’ => array(
‘host’ => ‘localhost’,
‘user’ => ‘root’,
‘pw’ => ”,
‘db’ => ‘demo’,
‘charset’ => ‘utf-8′
)
);

下载地址 : aqadmin.rar



作者: aqsmoke   发布时间: 2012-07-20

这个一点要支持!

作者: zoneboys   发布时间: 2013-04-29