This repository has been archived on 2024-09-05. You can view files and clone it, but cannot push or open issues or pull requests.
shimmie2/ext/handle_archive/info.php
2024-08-31 17:06:39 +01:00

22 lines
732 B
PHP

<?php
declare(strict_types=1);
namespace Shimmie2;
class ArchiveFileHandlerInfo extends ExtensionInfo
{
public const KEY = "handle_archive";
public string $key = self::KEY;
public string $name = "Handle Archives";
public string $url = self::SHIMMIE_URL;
public array $authors = self::SHISH_AUTHOR;
public string $description = "Allow users to upload archives (zip, etc)";
public ExtensionCategory $category = ExtensionCategory::FILE_HANDLING;
public ?string $documentation =
"Note: requires exec() access and an external unzip command
<p>Any command line unzipper should work, some examples:
<p>unzip: <code>unzip -d \"%d\" \"%f\"</code>
<br>7-zip: <code>7zr x -o\"%d\" \"%f\"</code>";
}