|
1 | 1 | <?php |
2 | 2 | /** |
3 | | - * The Unzipper extracts .zip archives and .gz files on webservers. It's handy if you |
| 3 | + * The Unzipper extracts .zip or .rar archives and .gz files on webservers. It's handy if you |
4 | 4 | * do not have shell access. E.g. if you want to upload a lot of files |
5 | 5 | * (php framework or image collection) as archive to save time. |
6 | 6 | * |
7 | 7 | * |
8 | 8 | * @author Andreas Tasch, at[tec], attec.at |
9 | 9 | * @license GNU GPL v3 |
10 | 10 | * @package attec.toolbox |
11 | | - * @version 0.0.3 Beta |
| 11 | + * @version 0.0.4 Beta |
12 | 12 | */ |
13 | 13 |
|
14 | 14 | $timestart = microtime(TRUE); |
@@ -165,7 +165,7 @@ public static function extractGzipFile($archive, $destination) { |
165 | 165 | public static function extractRarArchive($archive, $destination) { |
166 | 166 | // Check if webserver supports unzipping. |
167 | 167 | if (!class_exists('RarArchive')) { |
168 | | - self::$status = '<span class="status--ERROR">Error: Your PHP version does not support Rar functionality.<a class="info" href="http://php.net/manual/en/rar.installation.php">How to install RarArchive</a></span>'; |
| 168 | + self::$status = '<span class="status--ERROR">Error: Your PHP version does not support .rar archive functionality. <a class="info" href="http://php.net/manual/en/rar.installation.php" target="_blank">How to install RarArchive</a></span>'; |
169 | 169 | return; |
170 | 170 | } |
171 | 171 | // Check if archive is readable. |
@@ -271,7 +271,7 @@ public static function extractRarArchive($archive, $destination) { |
271 | 271 | <h1>Archive Unzipper</h1> |
272 | 272 | <form action="" method="POST"> |
273 | 273 | <fieldset> |
274 | | - <label for="zipfile">Select .zip archive or .gz or .rar archive file you want to extract:</label> |
| 274 | + <label for="zipfile">Select .zip or .rar archive or .gz file you want to extract:</label> |
275 | 275 | <select name="zipfile" size="1" class="select"> |
276 | 276 | <?php foreach ($arc->zipfiles as $zip) { |
277 | 277 | echo "<option>$zip</option>"; |
|
0 commit comments