summaryrefslogtreecommitdiffstats
path: root/system/libraries/Zip.php
diff options
context:
space:
mode:
authorAndrey Andreev <narf@bofh.bg>2012-01-10 21:41:52 +0100
committerAndrey Andreev <narf@bofh.bg>2012-01-10 21:41:52 +0100
commite34f1a75ca78825bcf96c4344e01de412f6113bf (patch)
tree2a02453314b2c8effac133a0b307c6d62fc4c9f7 /system/libraries/Zip.php
parentcfbd15b6d052c1cb93fb5fa08e35fa7d3c6c7751 (diff)
Some quotes
Diffstat (limited to 'system/libraries/Zip.php')
-rw-r--r--system/libraries/Zip.php4
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';
}