Changeset 3034:cb83195ec930 for admin
- Timestamp:
- 07/03/15 14:28:49 (10 years ago)
- Branch:
- default
- File:
-
- 1 edited
-
admin/media.php (modified) (1 diff)
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();
Note: See TracChangeset
for help on using the changeset viewer.
