用户
 找回密码
 入住 CI 中国社区
搜索
查看: 3114|回复: 1
收起左侧

[库 Library] CodeIgniter-GitHub-Updater(通过CodeIgniter把项目上传到GitHub)

[复制链接]
发表于 2012-12-5 11:43:12 | 显示全部楼层 |阅读模式
在github闲逛,看见这货,看名字应该能猜到它的用途了,通过CodeIgniter把项目上传到GitHub,用法很简单(英文水平很烂,差不多应该是这么个意思)

Copy the files under your application directory.拷贝文件到application 目录

Edit the github_updater.php config file.编辑github_updater.php这个配置文件

Then load the library like this:载入library

PHP复制代码
$this->load->library('github_updater');
 
$success = $this->github_updater->update();
复制代码

项目地址:https://github.com/jimdoescode/CodeIgniter-GitHub-Updater
有兴趣可以看看。{:soso_e128:}

评分

参与人数 2威望 +6 收起 理由
ichou + 1 赞一个!
Hex + 5 赞一个!

查看全部评分

发表于 2012-12-6 16:27:34 | 显示全部楼层
这代码是通过CodeIgniter把项目上传到GitHub?能不能具体详细说明下?对github不熟啊

本版积分规则