summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMehdi Bounya <5004111+mehdibo@users.noreply.github.com>2018-02-12 20:15:01 +0100
committerGitHub <noreply@github.com>2018-02-12 20:15:01 +0100
commit06e5d36f566c68b51ded2c2c307094c062e17a10 (patch)
tree05686882d985d67bd982875c530633bd6b74b662
parentd4fbb65b9a5c75b00ad8374021c72eb6ff4a58df (diff)
Update Image_lib.php
Fixed indentation
-rw-r--r--system/libraries/Image_lib.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/system/libraries/Image_lib.php b/system/libraries/Image_lib.php
index 0c36f740c..f37f25f5e 100644
--- a/system/libraries/Image_lib.php
+++ b/system/libraries/Image_lib.php
@@ -1548,7 +1548,7 @@ class CI_Image_lib {
*/
public function image_display_gd($resource)
{
- header('Content-Disposition: filename='.basename(empty($this->new_image) ? $this->source_image : $this->new_image).';');
+ header('Content-Disposition: filename='.basename(empty($this->new_image) ? $this->source_image : $this->new_image).';');
header('Content-Type: '.$this->mime_type);
header('Content-Transfer-Encoding: binary');
header('Last-Modified: '.gmdate('D, d M Y H:i:s', time()).' GMT');