mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-31 14:00:31 +02:00
Merge branch 'ticket/nickvergessen/7296' into develop-olympus
* ticket/nickvergessen/7296: [ticket/7296] Exporting styles to tar creates corrupted archives.
This commit is contained in:
@@ -2040,23 +2040,18 @@ parse_css_file = {PARSE_CSS_FILE}
|
||||
{
|
||||
case 'tar':
|
||||
$ext = '.tar';
|
||||
$mimetype = 'x-tar';
|
||||
$compress = 'compress_tar';
|
||||
break;
|
||||
|
||||
case 'zip':
|
||||
$ext = '.zip';
|
||||
$mimetype = 'zip';
|
||||
break;
|
||||
|
||||
case 'tar.gz':
|
||||
$ext = '.tar.gz';
|
||||
$mimetype = 'x-gzip';
|
||||
break;
|
||||
|
||||
case 'tar.bz2':
|
||||
$ext = '.tar.bz2';
|
||||
$mimetype = 'x-bzip2';
|
||||
break;
|
||||
|
||||
default:
|
||||
|
Reference in New Issue
Block a user