summaryrefslogtreecommitdiffstats
path: root/application/controllers
diff options
context:
space:
mode:
Diffstat (limited to 'application/controllers')
-rw-r--r--application/controllers/file.php4
1 files changed, 3 insertions, 1 deletions
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");