Changeset 5926
- Timestamp:
- 11/08/07 22:53:53 (6 years ago)
- Files:
-
- plugins/sfDoctrineAmazonS3Plugin/config/doctrine/schema.yml (modified) (1 diff)
- plugins/sfDoctrineAmazonS3Plugin/lib/BasesfAmazonS3.class.php (modified) (2 diffs)
- plugins/sfDoctrineAmazonS3Plugin/lib/Crypt (added)
- plugins/sfDoctrineAmazonS3Plugin/lib/Crypt/HMAC.php (added)
- plugins/sfDoctrineAmazonS3Plugin/lib/HTTP.php (added)
- plugins/sfDoctrineAmazonS3Plugin/lib/Net (added)
- plugins/sfDoctrineAmazonS3Plugin/lib/Net/Socket.php (added)
- plugins/sfDoctrineAmazonS3Plugin/lib/Net/URL.php (added)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
plugins/sfDoctrineAmazonS3Plugin/config/doctrine/schema.yml
r4708 r5926 3 3 Bucket: 4 4 tableName: <?php echo $config['bucket_table']."\n"; ?> 5 actAs: [Timestampable] 5 6 columns: 6 7 id: 7 type: integer 8 size: 4 8 type: integer(4) 9 9 primary: true 10 10 autoincrement: true 11 created_at:12 type: timestamp13 updated_at:14 type: timestamp15 11 name: 16 type: string 17 size: 255 12 type: string(255) 18 13 acl: 19 type: string 20 size: 25 14 type: string(25) 21 15 default: private 22 16 BucketObject: 23 17 tableName: <?php echo $config['bucket_object_table']."\n"; ?> 18 actAs: [Timestampable] 24 19 columns: 25 20 id: 26 type: integer 27 size: 4 21 type: integer(4) 28 22 primary: true 29 23 autoincrement: true 30 created_at:31 type: timestamp32 updated_at:33 type: timestamp34 24 bucket_id: 35 type: integer 36 size: 4 37 foreignClass: Bucket 38 foreignReference: id 39 localName: BucketObjects 40 foreignName: Bucket 41 cascadeDelete: true 25 type: integer(4) 42 26 key_name: 43 type: string 44 size: 255 27 type: string(255) 45 28 required: true 46 29 file_name: 47 type: string 48 size: 255 30 type: string(255) 49 31 required: true 50 32 acl: 51 type: string 52 size: 25 33 type: string(25) 53 34 default: private 54 35 md5ed: 55 type: integer 56 size: 1 36 type: integer(1) 57 37 default: 0 58 38 downloads: 59 type: integer 60 size: 11 39 type: integer(11) 61 40 default: 0 62 41 mime_type: 63 type: string 64 size: 255 42 type: string(255) 65 43 meta_data_array: 66 type: string 67 size: 4000 44 type: string(4000) 45 relations: 46 Bucket: 47 foreignAlias: BucketObjects 48 onDelete: CASCADE plugins/sfDoctrineAmazonS3Plugin/lib/BasesfAmazonS3.class.php
r4033 r5926 1 1 <?php 2 set_include_path(get_include_path() . PATH_SEPARATOR . dirname(__FILE__)); 3 2 4 /** 3 5 * This file is part of the sfAmazonS3 package. … … 7 9 * file that was distributed with this source code. 8 10 */ 9 10 /**11 * Require PEAR package Crypt_HMAC12 */13 ini_set('display_errors', 'off');14 require_once('Crypt/HMAC.php');15 16 /**17 * Required PEAR package HTTP_Request18 */19 require_once('HTTP/Request.php');20 ini_set('display_errors', 'on');21 11 22 12 /**