summaryrefslogtreecommitdiffstats
path: root/system/application/models/file_mod.php
diff options
context:
space:
mode:
authorFlorian Pritz <bluewind@xssn.at>2010-05-02 11:01:42 +0200
committerFlorian Pritz <bluewind@xssn.at>2010-05-02 11:06:43 +0200
commit7d2a4e5d52ed14c5061a8db635df6bd537dcabf4 (patch)
tree7083a06b44ee4070462efa12d8d9bd149a5b54b1 /system/application/models/file_mod.php
parentad945d473ac56385cbf7d37d0e556e3ad4545aa3 (diff)
add \n to url you get from curl
Signed-off-by: Florian Pritz <bluewind@xssn.at>
Diffstat (limited to 'system/application/models/file_mod.php')
-rw-r--r--system/application/models/file_mod.php2
1 files changed, 1 insertions, 1 deletions
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);