phpBB

Code Changes

File: includes/functions_compress.php

  Unmodified   Added   Modified   Removed
Line 210Line 210
	/**
* Constructor
*/

	/**
* Constructor
*/

	function compress_zip($mode, $file)

	function __construct($mode, $file)

	{
global $phpbb_filesystem;


	{
global $phpbb_filesystem;


Line 296Line 296

try
{


try
{

										$this->filesystem->phpbb_chmod($str, CHMOD_READ | CHMOD_WRITE);

										$this->filesystem->phpbb_chmod($str, \phpbb\filesystem\filesystem_interface::CHMOD_READ | \phpbb\filesystem\filesystem_interface::CHMOD_WRITE);

									}
catch (\phpbb\filesystem\exception\filesystem_exception $e)
{

									}
catch (\phpbb\filesystem\exception\filesystem_exception $e)
{

Line 333Line 333

try
{


try
{

									$this->filesystem->phpbb_chmod($str, CHMOD_READ | CHMOD_WRITE);

									$this->filesystem->phpbb_chmod($str, \phpbb\filesystem\filesystem_interface::CHMOD_READ | \phpbb\filesystem\filesystem_interface::CHMOD_WRITE);

								}
catch (\phpbb\filesystem\exception\filesystem_exception $e)
{

								}
catch (\phpbb\filesystem\exception\filesystem_exception $e)
{

Line 569Line 569
	/**
* Constructor
*/

	/**
* Constructor
*/

	function compress_tar($mode, $file, $type = '')

	function __construct($mode, $file, $type = '')

	{
global $phpbb_filesystem;


	{
global $phpbb_filesystem;


Line 636Line 636

try
{


try
{

									$this->filesystem->phpbb_chmod($str, CHMOD_READ | CHMOD_WRITE);

									$this->filesystem->phpbb_chmod($str, \phpbb\filesystem\filesystem_interface::CHMOD_READ | \phpbb\filesystem\filesystem_interface::CHMOD_WRITE);

								}
catch (\phpbb\filesystem\exception\filesystem_exception $e)
{

								}
catch (\phpbb\filesystem\exception\filesystem_exception $e)
{

Line 671Line 671

try
{


try
{

								$this->filesystem->phpbb_chmod($str, CHMOD_READ | CHMOD_WRITE);

								$this->filesystem->phpbb_chmod($str, \phpbb\filesystem\filesystem_interface::CHMOD_READ | \phpbb\filesystem\filesystem_interface::CHMOD_WRITE);

							}
catch (\phpbb\filesystem\exception\filesystem_exception $e)
{

							}
catch (\phpbb\filesystem\exception\filesystem_exception $e)
{

Line 688Line 688

try
{


try
{

						$this->filesystem->phpbb_chmod($target_filename, CHMOD_READ);

						$this->filesystem->phpbb_chmod($target_filename, \phpbb\filesystem\filesystem_interface::CHMOD_READ);

					}
catch (\phpbb\filesystem\exception\filesystem_exception $e)
{

					}
catch (\phpbb\filesystem\exception\filesystem_exception $e)
{