root/ip/tags/release_1_3_0_53/album_download.php
| 111 | 163 | ||
|---|---|---|---|
200 | // $archive = new tar_file('archive.tar'); // save as tar | 200 | // $archive = new tar_file('archive.tar'); // save as tar |
201 | // $archive = new gzip_file('archive.tgz'); // save as gzip | 201 | // $archive = new gzip_file('archive.tgz'); // save as gzip |
202 | 202 | ||
203 | $archive->set_options(array('inmemory' => 1, 'storepaths' => 0, 'comment' => 'Archived photos from ' . $board_config['sitename'])); | 203 | $archive->set_options(array('inmemory' => 1, 'storepaths' => 0, 'comment' => 'Archived photos from ' . ip_stripslashes($board_config['sitename']))); |
204 | $DLpics = array(); | 204 | $DLpics = array(); |
205 | while($row = $db->sql_fetchrow($result)) | 205 | while($row = $db->sql_fetchrow($result)) |
206 | { | 206 | { |
Download diff