diff options
Diffstat (limited to 'system/libraries/Zip.php')
-rw-r--r-- | system/libraries/Zip.php | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/system/libraries/Zip.php b/system/libraries/Zip.php index 5a24e4057..97695a07f 100644 --- a/system/libraries/Zip.php +++ b/system/libraries/Zip.php @@ -1,4 +1,4 @@ -<?php if (!defined('BASEPATH')) exit('No direct script access allowed');
+<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
/**
* CodeIgniter
*
@@ -57,7 +57,7 @@ class CI_Zip { {
foreach ((array)$directory as $dir)
{
- if (! preg_match("|.+/$|", $dir))
+ if ( ! preg_match("|.+/$|", $dir))
{
$dir .= '/';
}
@@ -196,7 +196,7 @@ class CI_Zip { */
function read_file($path, $preserve_filepath = FALSE)
{
- if (! file_exists($path))
+ if ( ! file_exists($path))
{
return FALSE;
}
@@ -301,7 +301,7 @@ class CI_Zip { */
function archive($filepath)
{
- if (! ($fp = @fopen($filepath, FOPEN_WRITE_CREATE_DESTRUCTIVE)))
+ if ( ! ($fp = @fopen($filepath, FOPEN_WRITE_CREATE_DESTRUCTIVE)))
{
return FALSE;
}
@@ -326,7 +326,7 @@ class CI_Zip { */
function download($filename = 'backup.zip')
{
- if (! preg_match("|.+?\.zip$|", $filename))
+ if ( ! preg_match("|.+?\.zip$|", $filename))
{
$filename .= '.zip';
}
@@ -374,6 +374,6 @@ class CI_Zip { }
}
- -/* End of file Zip.php */ +
+/* End of file Zip.php */
/* Location: ./system/libraries/Zip.php */
\ No newline at end of file |