From 7d2a4e5d52ed14c5061a8db635df6bd537dcabf4 Mon Sep 17 00:00:00 2001 From: Florian Pritz Date: Sun, 2 May 2010 11:01:42 +0200 Subject: add \n to url you get from curl Signed-off-by: Florian Pritz --- system/application/models/file_mod.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/system/application/models/file_mod.php b/system/application/models/file_mod.php index 723970f0f..6c35a8738 100644 --- a/system/application/models/file_mod.php +++ b/system/application/models/file_mod.php @@ -105,7 +105,7 @@ class File_mod extends Model { } if (strstr($_SERVER['HTTP_USER_AGENT'], 'libcurl')) { - echo $data['url']; + echo $data['url']."\n"; } else { $this->load->view('file/header', $data); $this->load->view('file/show_url', $data); -- cgit v1.2.3-24-g4f1b