From 2f149783585b88033f425a2ef4a0fdb06c8fb9f9 Mon Sep 17 00:00:00 2001 From: Florian Pritz Date: Mon, 9 Apr 2012 01:05:59 +0200 Subject: c/file: Style changes Signed-off-by: Florian Pritz --- application/controllers/file.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/application/controllers/file.php b/application/controllers/file.php index 0252e96e8..e693a8667 100644 --- a/application/controllers/file.php +++ b/application/controllers/file.php @@ -198,6 +198,7 @@ class File extends CI_Controller { $this->data["msg"] = "Deletion failed. Do you really own that file?"; } } + $this->load->view($this->var->view_dir.'/header', $this->data); $this->load->view($this->var->view_dir.'/delete_form', $this->data); $this->load->view($this->var->view_dir.'/footer', $this->data); @@ -304,7 +305,8 @@ class File extends CI_Controller { } /* remove files without database entries */ - function clean_stale_files() { + function clean_stale_files() + { if (!$this->input->is_cli_request()) return; $upload_path = $this->config->item("upload_path"); -- cgit v1.2.3-24-g4f1b