Special note: This code requires at least Baidu Cloud Storage (BCS) support in Baidu Application Engine (BAE)
Licensed under the Apache License v2.0
http://www.apache.org/licenses/LICENSE-2.0
config.php fill in the BAE database name and import baefile.sql through PhpMyAdmin provided by the platform.
URL Rewrite is not supported, please rename no-rewrite-list.php to list.php
Only list.php can write css style sheets to upload large files locally or in other spaces. Modify php.ini such as:
post_max_size = 320M
upload_max_filesize = 320M
max_execution_time = 300
max_input_time = 600
memory_limit = 512M
Special instructions:
When using a non-BAE environment, please rename localhost-config.php to config.php, configure the database and Baidu cloud storage related
1. Please modify the configuration in config.php yourself ① Please change sql_db_name to your database name. Regarding how to check your own database name, you can click on each menu in the BAE background and switch to the corresponding page to view the database name. Or directly open this URL when logged in to BAE: http://developer.baidu.com/bae/bdbs/db
②Please fill in your key pair in $ak $sk. Regarding viewing your own key pair (please create one if you don’t have one), please open it while logged in to BAE.
http://developer.baidu.com/bae/ref/key
2. Please manually create a bucket in the BAE background
http://developer.baidu.com/bae/bcs/bucket Please pay attention to modify $bucket in config.php yourself