Changeset 728976
- Timestamp:
- 06/20/2013 06:36:35 PM (13 years ago)
- Location:
- amazon-s3-uploads/trunk
- Files:
-
- 3 edited
-
asssu.php (modified) (1 diff)
-
plugin/asssu/__init.php (modified) (5 diffs)
-
plugin/asssu/forms.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
amazon-s3-uploads/trunk/asssu.php
r728448 r728976 14 14 register_activation_hook(__FILE__, 'activation_hook'); 15 15 function activation_hook() { 16 16 global $asssu; 17 $asssu->activation_hook(); 17 18 } 18 19 -
amazon-s3-uploads/trunk/plugin/asssu/__init.php
r728962 r728976 2 2 3 3 namespace asssu; 4 5 ////////////////////////////////////////////////////////////////////////////// 6 // check 7 # ta html pou anevenoun emfanizontai san txt 4 8 5 9 ////////////////////////////////////////////////////////////////////////////// … … 10 14 # upgrade 11 15 # dokimi buckets se ola ta locations 16 17 ////////////////////////////////////////////////////////////////////////////// 18 // todos 19 # checks sto activation gia ta requirements 20 # na paiksei to bjork 21 # na stelnei bjork mail 22 # na fiakso ta views 23 # na kano minify ta lib 24 # na paizei sto nginx 25 26 ////////////////////////////////////////////////////////////////////////////// 27 // unresolved 28 # na anevazei me ti mia sto s3 29 # an yparxei idi to arxeo pano na rotai ton xristi ti na kanei 30 # na ginei kati me ta + 31 32 ////////////////////////////////////////////////////////////////////////////// 33 // pro 34 # iam 35 # cron time, file limit 36 # cache 37 # ms 38 # dirs 39 # excludes 12 40 13 41 class Asssu { … … 107 135 return '1.9.1'; 108 136 } 137 138 // function upgrade_1_9_1() { 139 // $this->config['version'] = '1.9.2'; 140 // $this->db->save_config(); 141 // return $this->config['version']; 142 // } 109 143 110 144 function convert_to_s3_path($path, $stream_wrapper_format=true) { … … 127 161 $result = $client->getCommand('getBucketVersioning')->set('Bucket', $this->config['bucket_name'])->getResult(); 128 162 } catch (\Exception $e) { 163 exit('a'); 129 164 $this->config['is_active'] = false; 130 165 $this->db->save_config(); … … 160 195 file_put_contents($htaccess_file, $htaccess_contents); 161 196 return true; 197 } 198 199 function activation_hook() { 200 162 201 } 163 202 -
amazon-s3-uploads/trunk/plugin/asssu/forms.php
r728966 r728976 16 16 $options = array(); 17 17 $options['initial'] = $this->asssu->config; 18 unset($options['initial']['is_active']); 18 19 } 19 20 parent::__construct($data, $files, $options);
Note: See TracChangeset
for help on using the changeset viewer.