diff options
-rw-r--r-- | zipstream.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/zipstream.php b/zipstream.php index e0790b6..077a9ff 100644 --- a/zipstream.php +++ b/zipstream.php @@ -283,7 +283,7 @@ class ZipStream { function add_file_header($name, $opt, $meth, $crc, $zlen, $len) { # strip leading slashes from file name # (fixes bug in windows archive viewer) - $name = preg_replace('/^\\/+/', '', $name) + $name = preg_replace('/^\\/+/', '', $name); # calculate name length $nlen = strlen($name); |