Changeset 2520
- Timestamp:
- Sep 12, 2008, 12:19:04 AM (16 years ago)
- Location:
- trunk
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/ws_functions.inc.php
r2516 r2520 829 829 // thumbnail_content 830 830 // thumbnail_sum 831 // rank 831 832 832 833 // $fh_log = fopen('/tmp/php.log', 'w'); … … 927 928 $insert = array( 928 929 'category_id' => $params['category_id'], 929 'image_id'=> $image_id, 930 'image_id' => $image_id, 931 'rank' => $params['rank'], 930 932 ); 931 933 mass_inserts( -
trunk/tools/piwigo_remote.pl
r2519 r2520 11 11 GetOptions( 12 12 \%opt, 13 qw/action=s file=s thumbnail=s category_id=i name=s /13 qw/action=s file=s thumbnail=s category_id=i name=s rank=i/ 14 14 ); 15 15 … … 62 62 category_id => $opt{category_id}, 63 63 name => $opt{name}, 64 rank => defined($opt{rank}) ? $opt{rank} : 1, 64 65 }; 65 66 -
trunk/ws.php
r2516 r2520 182 182 'file_sum', 183 183 'thumbnail_content', 184 'thumbnail_sum' 184 'thumbnail_sum', 185 'rank', 185 186 ), 186 187 'POST method only'
Note: See TracChangeset
for help on using the changeset viewer.