Changeset 493910
- Timestamp:
- 01/23/2012 11:19:09 AM (14 years ago)
- Location:
- amazon-s3-uploads/trunk
- Files:
-
- 3 edited
-
asssu-models.php (modified) (1 diff)
-
asssu.php (modified) (1 diff)
-
readme.txt (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
amazon-s3-uploads/trunk/asssu-models.php
r493877 r493910 325 325 326 326 function check_db_table() { 327 $columns = @$this->db->get_results('SHOW COLUMNS FROM `'.$this->config->db_table.'`', ARRAY_A); 328 if ($columns !== false) { 329 $site_url = false; 330 $location = false; 331 foreach ($columns as $k => $v) 332 if ($v['Field'] === 'site_url') 333 $site_url = true; 334 else if ($v['Field'] === 'location') 335 $location = true; 336 if (!$site_url || !$location) 337 $this->db->query('DROP TABLE `'.$this->config->db_table.'`'); 338 } 327 339 $query = 'CREATE TABLE IF NOT EXISTS `'.$this->config->db_table.'` ( 328 340 `id` varchar(32) NOT NULL, 329 `path` varchar(255) NOT NULL, 330 `status` enum(\'queue\', \'done\', \'error\') NOT NULL, 331 `added` datetime NOT NULL, 341 `site_url` varchar(255) NOT NULL, 342 `location` varchar(255) NOT NULL, 332 343 PRIMARY KEY (`id`) 333 344 ) ENGINE=MyISAM;'; -
amazon-s3-uploads/trunk/asssu.php
r493877 r493910 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 58 Version: 1.06 9 9 */ 10 10 -
amazon-s3-uploads/trunk/readme.txt
r493877 r493910 5 5 Requires at least: 2.3 6 6 Tested up to: 3.3 7 Stable tag: 1.0 57 Stable tag: 1.06 8 8 9 9 Moves your uploads to Amazon S3 via cron jobs. … … 52 52 == Changelog == 53 53 54 = 1.06 = 55 * Minor bug fixes 56 54 57 = 1.05 = 55 58 * Minor fixes … … 75 78 == Upgrade Notice == 76 79 80 = 1.06 = 81 Minor bug fixes 82 77 83 = 1.05 = 78 84 Minor fixes
Note: See TracChangeset
for help on using the changeset viewer.