diff options
author | pabs <pabs@pablotron.org> | 2009-01-29 13:19:50 -0500 |
---|---|---|
committer | pabs <pabs@pablotron.org> | 2009-01-29 13:19:50 -0500 |
commit | 7003089f57d3f855ff53782639b96cb58affb8f8 (patch) | |
tree | 31708597f9f57cba7a1e001a66d2398522c4daf6 | |
parent | 11a3412e0f07f57a1fecf1b505a489c4db085447 (diff) | |
download | zipstream-php-7003089f57d3f855ff53782639b96cb58affb8f8.tar.bz2 zipstream-php-7003089f57d3f855ff53782639b96cb58affb8f8.zip |
fix typo
-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); |