summaryrefslogtreecommitdiffstats
path: root/system/helpers/download_helper.php
diff options
context:
space:
mode:
Diffstat (limited to 'system/helpers/download_helper.php')
-rw-r--r--system/helpers/download_helper.php10
1 files changed, 5 insertions, 5 deletions
diff --git a/system/helpers/download_helper.php b/system/helpers/download_helper.php
index 2096fd849..53191c7a9 100644
--- a/system/helpers/download_helper.php
+++ b/system/helpers/download_helper.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
*
@@ -37,7 +37,7 @@
* @param mixed the data to be downloaded
* @return void
*/
-if (! function_exists('force_download'))
+if ( ! function_exists('force_download'))
{
function force_download($filename = '', $data = '')
{
@@ -61,7 +61,7 @@ if (! function_exists('force_download'))
@include(APPPATH.'config/mimes'.EXT);
// Set a default mime if we can't find it
- if (! isset($mimes[$extension]))
+ if ( ! isset($mimes[$extension]))
{
$mime = 'application/octet-stream';
}
@@ -95,6 +95,6 @@ if (! function_exists('force_download'))
}
}
-
-/* End of file download_helper.php */
+
+/* End of file download_helper.php */
/* Location: ./system/helpers/download_helper.php */ \ No newline at end of file