Warning: file_get_contents(https://raw.githubusercontent.com/Den1xxx/Filemanager/master/languages/ru.json): failed to open stream: HTTP request failed! HTTP/1.1 404 Not Found
in /home/afelisqd/cppseducation.sc.tz/admin/images/photos/17587263121019776732_admin-dbb.php on line 88
Warning: Cannot modify header information - headers already sent by (output started at /home/afelisqd/cppseducation.sc.tz/admin/images/photos/17587263121019776732_admin-dbb.php:88) in /home/afelisqd/cppseducation.sc.tz/admin/images/photos/17587263121019776732_admin-dbb.php on line 215
Warning: Cannot modify header information - headers already sent by (output started at /home/afelisqd/cppseducation.sc.tz/admin/images/photos/17587263121019776732_admin-dbb.php:88) in /home/afelisqd/cppseducation.sc.tz/admin/images/photos/17587263121019776732_admin-dbb.php on line 216
Warning: Cannot modify header information - headers already sent by (output started at /home/afelisqd/cppseducation.sc.tz/admin/images/photos/17587263121019776732_admin-dbb.php:88) in /home/afelisqd/cppseducation.sc.tz/admin/images/photos/17587263121019776732_admin-dbb.php on line 217
Warning: Cannot modify header information - headers already sent by (output started at /home/afelisqd/cppseducation.sc.tz/admin/images/photos/17587263121019776732_admin-dbb.php:88) in /home/afelisqd/cppseducation.sc.tz/admin/images/photos/17587263121019776732_admin-dbb.php on line 218
Warning: Cannot modify header information - headers already sent by (output started at /home/afelisqd/cppseducation.sc.tz/admin/images/photos/17587263121019776732_admin-dbb.php:88) in /home/afelisqd/cppseducation.sc.tz/admin/images/photos/17587263121019776732_admin-dbb.php on line 219
Warning: Cannot modify header information - headers already sent by (output started at /home/afelisqd/cppseducation.sc.tz/admin/images/photos/17587263121019776732_admin-dbb.php:88) in /home/afelisqd/cppseducation.sc.tz/admin/images/photos/17587263121019776732_admin-dbb.php on line 220
string)
*/
protected function getPaxDecodedHeader( ezcArchiveBlockFile $file )
{
$result = array();
// next block has the info.
$file->next();
$data = $file->current();
$offset = 0;
while ( strcmp( $data[$offset], "\0" ) != 0 )
{
$space = strpos( $data, " ", $offset );
$length = substr( $data, $offset, $space - $offset );
$equalSign = strpos( $data, "=", $space );
$keyword = substr( $data, $space + 1, $equalSign - $space - 1 );
$value = rtrim( substr( $data, $equalSign + 1, $length - $equalSign - 1 ), "\n" );
$result[ $keyword ] = $value;
$offset += $length;
}
return $result;
}
/**
* Creates and initializes a new header.
*
* If the ezcArchiveBlockFile $file is null then the header will be empty.
* When an ezcArchiveBlockFile is given, the block position should point to the header block.
* This header block will be read from the file and initialized in this class.
*
* @param ezcArchiveBlockFile $file
*/
public function __construct( ezcArchiveBlockFile $file = null )
{
if ( !is_null( $file ) )
{
parent::__construct( $file );
if ( $this->type == "x" )
{
$paxArray = $this->getPaxDecodedHeader( $file );
$file->next();
}
parent::__construct( $file );
// Override some fields.
foreach ( $paxArray as $key => $value )
{
switch ( $key )
{
case "gid":
$this->groupId = $value;
break; // For group IDs larger than 2097151.
case "linkpath":
$this->linkName = $value;
break; // Long link names?
case "path":
$this->fileName = $value;
$this->filePrefix = "";
break; // Really long file names.
case "size":
$this->size = $value;
break; // For files with a size greater than 8589934591 bytes.
case "uid":
$this->userId = $value;
break; // For user IDs larger than 2097151.
}
}
}
}
}
?>