diff options
author | Andrey Andreev <narf@bofh.bg> | 2012-01-10 21:41:52 +0100 |
---|---|---|
committer | Andrey Andreev <narf@bofh.bg> | 2012-01-10 21:41:52 +0100 |
commit | e34f1a75ca78825bcf96c4344e01de412f6113bf (patch) | |
tree | 2a02453314b2c8effac133a0b307c6d62fc4c9f7 /system | |
parent | cfbd15b6d052c1cb93fb5fa08e35fa7d3c6c7751 (diff) |
Some quotes
Diffstat (limited to 'system')
-rw-r--r-- | system/libraries/Zip.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/system/libraries/Zip.php b/system/libraries/Zip.php index 2ed79f0e3..dbcdb2d97 100644 --- a/system/libraries/Zip.php +++ b/system/libraries/Zip.php @@ -112,7 +112,7 @@ class CI_Zip { */ protected function _add_dir($dir, $file_mtime, $file_mdate) { - $dir = str_replace("\\", "/", $dir); + $dir = str_replace('\\', '/', $dir); $this->zipdata .= "\x50\x4b\x03\x04\x0a\x00\x00\x00\x00\x00" @@ -375,7 +375,7 @@ class CI_Zip { */ public function download($filename = 'backup.zip') { - if ( ! preg_match("|.+?\.zip$|", $filename)) + if ( ! preg_match('|.+?\.zip$|', $filename)) { $filename .= '.zip'; } |