N°2150 update Archive_Tar to 1.4.7

Now we don't have anymore some Combodo specific code inside the lib \o/
This commit is contained in:
Pierre Goiffon
2019-07-11 11:49:04 +02:00
parent 509ca47b36
commit e6e79df8db
4 changed files with 1312 additions and 88 deletions

View File

@@ -20,10 +20,17 @@ require_once(APPROOT.'lib/archivetar/tar.php');
/**
* Class ITopArchiveTar
* Custom Combodo code added to the {@link ArchiveTar} class
* Custom Combodo code added to the {@link Archive_Tar} class
*/
class ITopArchiveTar extends ArchiveTar
class ITopArchiveTar extends Archive_Tar
{
const READ_BUFFER_SIZE = 1024*1024;
public function __construct($p_tarname, $p_compress = null)
{
parent::__construct($p_tarname, $p_compress, self::READ_BUFFER_SIZE);
}
/**
* @param string $p_message
*/