diff options
-rw-r--r-- | application/controllers/file.php | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/application/controllers/file.php b/application/controllers/file.php index cbda8bea2..e1b43d314 100644 --- a/application/controllers/file.php +++ b/application/controllers/file.php @@ -65,12 +65,14 @@ class File extends MY_Controller { return $this->_non_existent(); } $files = $this->mmultipaste->get_files($id); + $this->data["title"] = "Multipaste"; } elseif ($this->mfile->id_exists($id)) { if (!$this->mfile->valid_id($id)) { return $this->_non_existent(); } $files = array($this->mfile->get_filedata($id)); + $this->data["title"] = htmlspecialchars($files[0]["filename"]); } else { assert(0); } |