1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-08-16 13:44:12 +02:00

[ticket/7296] Exporting styles to tar creates corrupted archives.

Add the folders to the archive before putting the files inside, seems to break
the tar-archives.

PHPBB3-7296
This commit is contained in:
Joas Schilling
2010-08-22 11:16:19 -04:00
parent 25c579c00d
commit 3cbcff56b2
2 changed files with 6 additions and 5 deletions

View File

@@ -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: