Linux 软件免费装

Photocopy

开发者 ryanhellyer
更新时间 2014年12月21日 00:03
捐献地址: 去捐款
PHP版本: 3.4 及以上

标签

backup media s3 uploads

下载

1.0 1.0.1

详情介绍:

This plugin is discontinued. To the best of my knowledge it is stable and works fine, but since it's release I have decided it is no longer advisable to store Amazon credentials in PHP files. Creates an immediate backup of your media to Amazon S3 as soon as you upload it. Vital for when you never want to risk losing your files. Can also be useful for off-loading your uploads externally to free up disk space on your main site (additional CDN plugin required to make use of it in this fashion)

安装:

Set the Amazon S3 access key, secret key and your chosen bucket name in your wp-config.php file (or anywhere which executes prior to 'init'). You will need to obtain this information from Amazon directly. define( 'AWS_ACCESS_KEY', 'JKEFSLDGNSJKGBSDGJ'); define( 'AWS_SECRET_KEY', 'LKafk+kalfskaKDSDGQWRLZVXMLKEOInsdgsd' ); define( 'AWS_BUCKET_NAME', 'ryans-personal-bucket' ); Now, when you upload an image via the WordPress media uploader, the files will be automatically backed up to Amazon S3 :) For more information, visit the Photocopy plugin page. Note: This plugin requires Curl to be installed on your server. This is due to the S3 PHP class by Donovan Schönknecht which is used in this plugin. Technically, the WordPress http API could be used instead of directly performing http requests via Curl, but I didn't want to mess with the original class which seems to work very well, and so running Curl on your server is a requirement for use with this plugin.

更新日志:

1.0.1 (11/11/2012) 1.0 (16/8/2012) Credits