aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/functions_compress.php
diff options
context:
space:
mode:
authorAndreas Fischer <bantu@phpbb.com>2013-10-29 00:00:00 +0100
committerAndreas Fischer <bantu@phpbb.com>2013-10-29 00:00:00 +0100
commit59e3c2d16e5fa3eb6f1a872657454b437b72ae63 (patch)
tree4b73ff239faac9125c1998eba0de8d8e607041d4 /phpBB/includes/functions_compress.php
parented94e3c5761cc188fc6e1e7943a888d30bd0e7b9 (diff)
parent7f58a4572eaca75aecff2da889e67ea151616011 (diff)
downloadforums-59e3c2d16e5fa3eb6f1a872657454b437b72ae63.tar
forums-59e3c2d16e5fa3eb6f1a872657454b437b72ae63.tar.gz
forums-59e3c2d16e5fa3eb6f1a872657454b437b72ae63.tar.bz2
forums-59e3c2d16e5fa3eb6f1a872657454b437b72ae63.tar.xz
forums-59e3c2d16e5fa3eb6f1a872657454b437b72ae63.zip
Merge remote-tracking branch 'marc1706/ticket/11981' into develop
* marc1706/ticket/11981: [ticket/11981] Fix code sniffer complaints
Diffstat (limited to 'phpBB/includes/functions_compress.php')
-rw-r--r--phpBB/includes/functions_compress.php12
1 files changed, 6 insertions, 6 deletions
diff --git a/phpBB/includes/functions_compress.php b/phpBB/includes/functions_compress.php
index c79a31930e..39a1b2ad21 100644
--- a/phpBB/includes/functions_compress.php
+++ b/phpBB/includes/functions_compress.php
@@ -46,7 +46,7 @@ class compress
if (is_file($phpbb_root_path . $src))
{
- $this->data($src_path, file_get_contents("$phpbb_root_path$src"), false, stat("$phpbb_root_path$src"));
+ $this->data($src_path, file_get_contents("$phpbb_root_path$src"), stat("$phpbb_root_path$src"), false);
}
else if (is_dir($phpbb_root_path . $src))
{
@@ -86,7 +86,7 @@ class compress
continue;
}
- $this->data("$src_path$path$file", file_get_contents("$phpbb_root_path$src$path$file"), false, stat("$phpbb_root_path$src$path$file"));
+ $this->data("$src_path$path$file", file_get_contents("$phpbb_root_path$src$path$file"), stat("$phpbb_root_path$src$path$file"), false);
}
}
}
@@ -109,7 +109,7 @@ class compress
return false;
}
- $this->data($filename, file_get_contents($src), false, stat($src));
+ $this->data($filename, file_get_contents($src), stat($src), false);
return true;
}
@@ -123,7 +123,7 @@ class compress
$stat[4] = $stat[5] = 0;
$stat[7] = strlen($src);
$stat[9] = time();
- $this->data($name, $src, false, $stat);
+ $this->data($name, $src, $stat, false);
return true;
}
@@ -395,7 +395,7 @@ class compress_zip extends compress
/**
* Create the structures ... note we assume version made by is MSDOS
*/
- function data($name, $data, $is_dir = false, $stat)
+ function data($name, $data, $stat, $is_dir = false)
{
$name = str_replace('\\', '/', $name);
$name = $this->unique_filename($name);
@@ -669,7 +669,7 @@ class compress_tar extends compress
/**
* Create the structures
*/
- function data($name, $data, $is_dir = false, $stat)
+ function data($name, $data, $stat, $is_dir = false)
{
$name = $this->unique_filename($name);
$this->wrote = true;