Changeset 493877
- Timestamp:
- 01/23/2012 09:45:03 AM (14 years ago)
- Location:
- amazon-s3-uploads/trunk
- Files:
-
- 3 edited
-
asssu-models.php (modified) (2 diffs)
-
asssu.php (modified) (1 diff)
-
readme.txt (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
amazon-s3-uploads/trunk/asssu-models.php
r493645 r493877 38 38 $this->mode = $options['mode']; 39 39 40 s tatic::$collection[$this->site_url] = $this;40 self::$collection[$this->site_url] = $this; 41 41 } 42 42 43 43 public function getSafeSecretKey() { 44 if (empty($this->secret_key)) 45 return ''; 44 46 return substr($this->secret_key, 0, 5).'*****'.substr($this->secret_key, -5); 45 47 } 46 48 47 49 public static function getConfig($site_url) { 48 if (isset(s tatic::$collection[$site_url]))49 return s tatic::$collection[$site_url];50 if (isset(self::$collection[$site_url])) 51 return self::$collection[$site_url]; 50 52 return null; 51 53 } … … 295 297 require_once dirname(__FILE__).DIRECTORY_SEPARATOR.'tpyo-amazon-s3-php-class'.DIRECTORY_SEPARATOR.'S3.php'; 296 298 $adapter = new S3($c->access_key, $c->secret_key, $c->use_ssl); 297 $buckets = $adapter->listBuckets();299 $buckets = @$adapter->listBuckets(); 298 300 if (is_array($buckets) && in_array($c->bucket_name, $buckets)) { 299 301 $bucket_location = $adapter->getBucketLocation($c->bucket_name); -
amazon-s3-uploads/trunk/asssu.php
r493645 r493877 6 6 Author URI: http://code.google.com/u/117859515361389646005/ 7 7 Description: Moves your uploads to Amazon S3 via cron jobs. 8 Version: 1.0 48 Version: 1.05 9 9 */ 10 10 -
amazon-s3-uploads/trunk/readme.txt
r493645 r493877 5 5 Requires at least: 2.3 6 6 Tested up to: 3.3 7 Stable tag: 1.0 47 Stable tag: 1.05 8 8 9 9 Moves your uploads to Amazon S3 via cron jobs. … … 52 52 == Changelog == 53 53 54 = 1.05 = 55 * Minor fixes 56 54 57 = 1.04 = 55 58 * MultiSite complex configuration added … … 72 75 == Upgrade Notice == 73 76 77 = 1.05 = 78 Minor fixes 79 74 80 = 1.04 = 75 81 This version incorporates some fresh holy Earth's lightnings tuned by mighty Zeus himself.
Note: See TracChangeset
for help on using the changeset viewer.