DZ.GG 短网址系统PHP源码分享

DZ.GG 是一个开源且免费的网址缩短系统。采用国外著名的 Yourls 短网址为内核,薇晓朵进行了二次开发,方便中国用户投入使用。

如果需要帮助,请到薇晓朵技术论坛发帖提问,论坛有专职技术人员提供协助,另,更多功能可以自行搜索Yourls插件,完全兼容可用。

重要:如需人工服务,可接受付费提供技术支持等服务。

官网主页:

本站原创短网址程序:http://www.aeink.com/myurl.html

系统优化修改代码合集:

http://bbs.weixiaoduo.com/topic/19347

汉化说明:

1. 汉化了部分提示信息
2. 增加了一个简洁、漂亮的前台中文界面
3. 修正部分用户在后台无法编辑和删除短网址的Bug
4. 修正其它一些小Bug
5. 尊重作者劳动,保留了官网链接

安装说明:

1. 解压下载的安装包
2. 将 includes/config-sample.php 拷贝至 user/config.php
3. 创建数据库及对应用户
4. 编辑 user/config.php
5. 上传程序和配置文件
6. 访问http://yoursite.com/admin/

安装方法更新,有使用过 Yourls 的朋友应该会比较好理解,我们因为是用 DZ.GG 整站打包的,所以请使用直接修改数据库配置文件的方式安装。

1、修改基础配置文件;

 /** MySQL database username -数据库用户名*/
define( 'YOURLS_DB_USER', 'weixiaod_dwz' );

/** MySQL database password  -数据库密码*/
define( 'YOURLS_DB_PASS', 'dzgg' );

/** The name of the database for YOURLS  -YOURLS 数据库名*/
define( 'YOURLS_DB_NAME', 'weixiaod_dwz' );

/** MySQL hostname.
 ** If using a non standard port, specify it like 'hostname:port', eg. 'localhost:9999' or '127.0.0.1:666' */
define( 'YOURLS_DB_HOST', 'localhost' );

/** MySQL tables prefix -数据表前缀*/
define( 'YOURLS_DB_PREFIX', 'dzgg_' ); 

2、将 http://localhost/dzgg/ 改为你的域名;

 ** If you define it to "http://site.com", don't use "http://www.site.com" in your browser (and vice-versa) */
define( 'YOURLS_SITE', 'http://localhost/dzgg/' ); 

3、 修改管理员账户密码,默认管理员用户名为 password,密码为 password2;

** Read http://yourls.org/userpassword for more information */
$yourls_user_passwords = array(
	'Admin' => 'password' /* Password encrypted by YOURLS */ ,
	'username2' => 'password2' /* Password encrypted by YOURLS */ 	// You can have one or more 'login'=>'password' lines
	);

4、进入后台之后请自行调整其他内容,对于版权 © 我们持开放态度,但保留所有权利。

本文转自http://www.weixiaoduo.com




  文件名稱:DZ.GG

  更新時間:2017-06-08 20:25:08

  下載声明:本站默認解壓密碼(www.aeink.com)網絡資源來自網絡收集或本人原創,轉載請註明出處!若資源侵犯了你的版權,請聯繫博主,我們會在24H內刪除侵權資源!

立即下載 在線演示

转载请注明出处 AE博客|墨渊 » DZ.GG 短网址系统PHP源码分享

相关推荐

发表评论

路人甲

网友评论(0)