aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/acp/acp_styles.php
diff options
context:
space:
mode:
authorJoas Schilling <nickvergessen@gmx.de>2010-08-22 11:16:19 -0400
committerJoas Schilling <nickvergessen@gmx.de>2010-08-22 11:16:19 -0400
commit3cbcff56b20d384c92bbf9a627a8878a364e0597 (patch)
tree554ac416152ca2c86cbd80d316bb68055d18b38e /phpBB/includes/acp/acp_styles.php
parent25c579c00d25356afead09f13031e69e22f91324 (diff)
downloadforums-3cbcff56b20d384c92bbf9a627a8878a364e0597.tar
forums-3cbcff56b20d384c92bbf9a627a8878a364e0597.tar.gz
forums-3cbcff56b20d384c92bbf9a627a8878a364e0597.tar.bz2
forums-3cbcff56b20d384c92bbf9a627a8878a364e0597.tar.xz
forums-3cbcff56b20d384c92bbf9a627a8878a364e0597.zip
[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
Diffstat (limited to 'phpBB/includes/acp/acp_styles.php')
-rw-r--r--phpBB/includes/acp/acp_styles.php5
1 files changed, 0 insertions, 5 deletions
diff --git a/phpBB/includes/acp/acp_styles.php b/phpBB/includes/acp/acp_styles.php
index 3310560c73..0b4cf2a024 100644
--- a/phpBB/includes/acp/acp_styles.php
+++ b/phpBB/includes/acp/acp_styles.php
@@ -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: