summaryrefslogtreecommitdiff
path: root/maintenance/7zip.inc
diff options
context:
space:
mode:
authorPierre Schmitz <pierre@archlinux.de>2014-12-27 15:41:37 +0100
committerPierre Schmitz <pierre@archlinux.de>2014-12-31 11:43:28 +0100
commitc1f9b1f7b1b77776192048005dcc66dcf3df2bfb (patch)
tree2b38796e738dd74cb42ecd9bfd151803108386bc /maintenance/7zip.inc
parentb88ab0086858470dd1f644e64cb4e4f62bb2be9b (diff)
Update to MediaWiki 1.24.1
Diffstat (limited to 'maintenance/7zip.inc')
-rw-r--r--maintenance/7zip.inc4
1 files changed, 3 insertions, 1 deletions
diff --git a/maintenance/7zip.inc b/maintenance/7zip.inc
index 590cad23..751a1311 100644
--- a/maintenance/7zip.inc
+++ b/maintenance/7zip.inc
@@ -3,7 +3,7 @@
* 7z stream wrapper
*
* Copyright © 2005 Brion Vibber <brion@pobox.com>
- * http://www.mediawiki.org/
+ * https://www.mediawiki.org/
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@ -36,6 +36,7 @@ class SevenZipStream {
private function stripPath( $path ) {
$prefix = 'mediawiki.compress.7z://';
+
return substr( $path, strlen( $prefix ) );
}
@@ -91,4 +92,5 @@ class SevenZipStream {
return fseek( $this->stream, $offset, $whence );
}
}
+
stream_wrapper_register( 'mediawiki.compress.7z', 'SevenZipStream' );