Changeset 3034:cb83195ec930
- Timestamp:
- 07/03/15 14:28:49 (10 years ago)
- Branch:
- default
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
admin/media.php
r2889 r3034 122 122 $zip->addDirectory($core->media->root.'/'.$d,'',true); 123 123 124 header('Content-Disposition: attachment;filename='. ($d ? $d : 'media').'.zip');124 header('Content-Disposition: attachment;filename='.date('Y-m-d').'-'.$core->blog->id.'-'.($d ? $d : 'media').'.zip'); 125 125 header('Content-Type: application/x-zip'); 126 126 $zip->write(); -
plugins/maintenance/inc/tasks/class.dc.maintenance.zipmedia.php
r2044 r3034 44 44 45 45 // Send zip 46 header('Content-Disposition: attachment;filename= media.zip');46 header('Content-Disposition: attachment;filename='.date('Y-m-d').'-'.$this->core->blog->id.'-'.'media.zip'); 47 47 header('Content-Type: application/x-zip'); 48 48 $zip->write();
Note: See TracChangeset
for help on using the changeset viewer.