summaryrefslogtreecommitdiffstats
path: root/system/application/controllers/file.php
diff options
context:
space:
mode:
authorFlorian Pritz <bluewind@xssn.at>2010-02-07 17:57:47 +0100
committerFlorian Pritz <bluewind@xssn.at>2010-02-07 17:57:47 +0100
commit5cb8dbec56fae74dd9d5ae30ed06464135b600f3 (patch)
tree84857b24f2d7c77187b0623d032962b9a6c797dc /system/application/controllers/file.php
parented37021577c01f14f3f4d6f3b5da18f6b56d5be4 (diff)
fix indenting
Signed-off-by: Florian Pritz <bluewind@xssn.at>
Diffstat (limited to 'system/application/controllers/file.php')
-rw-r--r--system/application/controllers/file.php10
1 files changed, 5 insertions, 5 deletions
diff --git a/system/application/controllers/file.php b/system/application/controllers/file.php
index fb114ee7b..6be3cf1c9 100644
--- a/system/application/controllers/file.php
+++ b/system/application/controllers/file.php
@@ -164,19 +164,19 @@ class File extends Controller {
header('Etag: "'.$etag.'"');
} else {
if ($mode
- && $this->file_mod->mime2extension($type)
- && filesize($file) <= $this->config->item('upload_max_text_size')
- ) {
+ && $this->file_mod->mime2extension($type)
+ && filesize($file) <= $this->config->item('upload_max_text_size')
+ ) {
header("Content-Type: text/html\n");
// TODO: move to own file
echo '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">'
.'<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"'
.' <head><title>'.$filedata['filename'].'</title>'
- .' <link rel="stylesheet" type="text/css" href="'.base_url().'data/paste.css" />'
+ .' <link rel="stylesheet" type="text/css" href="'.base_url().'data/paste.css" />'
.' </head>'
.'<body>'
.' <div class="top_bar">'
- .' <a class="raw_link no" href="'.site_url($this->config->item('paste_download_url').$id).'">Raw</a>'
+ .' <a class="raw_link no" href="'.site_url($this->config->item('paste_download_url').$id).'">Raw</a>'
.' </div'
.' <table class="content">'
.' <tr><td class="numbers"><pre>';