HiBCS 百度BAE版 v1.0 beta build20121212

时间:2016-01-10 08:51:00
【文件属性】:
文件名称:HiBCS 百度BAE版 v1.0 beta build20121212
文件大小:51KB
文件格式:ZIP
更新时间:2016-01-10 08:51:00
HiBCS 特别提示:本代码至少需百度应用引擎(BAE)中的百度云存储(BCS)支持 Licensed under the Apache License v2.0 http://www.apache.org/licenses/LICENSE-2.0 config.php 填写BAE数据库名称 通过平台提供的PhpMyAdmin访问 导入baefile.sql 不支持URL Rewrite请将no-rewrite-list.php重命名为list.php 只有list.php有写css样式表 本地或其它空间大文件上传,修改php.ini 如: post_max_size = 320M upload_max_filesize = 320M max_execution_time = 300 max_input_time = 600 memory_limit = 512M 特别说明: 使用非BAE环境请将localhost-config.php重命名为config.php、配置数据库及百度云存储相关 1、请自行修改config.php里的配置 ①请将 sql_db_name 改为你的数据库名字 关于如何查看自己的数据库名,可在BAE后台点击各项菜单,切换到相应的页面查看数据库名。或者在登录BAE的状态下直接打开这个网址:http://developer.baidu.com/bae/bdbs/db ②请在 $ak $sk 填写你的密匙对。关于查看自己的密匙对(如果没有则请创建),请在登录BAE的状态下打开 http://developer.baidu.com/bae/ref/key 2、请在BAE后台手动创建一个bucket http://developer.baidu.com/bae/bcs/bucket 请注意自行修改config.php里的$bucket 附: nginx的URL Rewrite规则,请将下面规则加入到站点配置中,重启nginx即可 rewrite ^/page-([0-9]+)/?$ /index.php?page=$1 last; rewrite ^/del-list-([0-9]+)$/?$ /del-list.php?page=$1 last;
【文件预览】:
HiBCS-master
----no-rewrite-index.php(3KB)
----del-object.php(1KB)
----del.php(781B)
----bcs.php(6KB)
----force-install.php(1KB)
----app.conf(339B)
----config.php(492B)
----install.php(776B)
----bcs()
--------utils()
--------readme(1KB)
--------tools()
--------bcs.class.php(47KB)
--------sample()
--------conf.inc.php(276B)
--------libs()
--------change_log(2KB)
----del-list.php(3KB)
----README.md(2KB)
----index.php(3KB)
----bcs.html(465B)
----baefile.sql(458B)
----css()
--------style.css(6KB)
----.htaccess(147B)
----localhost-config.php(456B)
说明.htm

网友评论