dépôts
/
lhc
/
web
/
wiklou.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge "Remove reference to deprecated IDatabase->nextSequenceValue()"
[lhc/web/wiklou.git]
/
maintenance
/
7zip.inc
diff --git
a/maintenance/7zip.inc
b/maintenance/7zip.inc
index
02156c7
..
751a131
100644
(file)
--- a/
maintenance/7zip.inc
+++ b/
maintenance/7zip.inc
@@
-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' );