From 305092987b35e89a7ab08d7180c68d09074800d9 Mon Sep 17 00:00:00 2001 From: Florian Pritz Date: Tue, 7 Dec 2010 16:53:08 +0100 Subject: fix spelling mistake Signed-off-by: Florian Pritz --- system/application/controllers/file.php | 2 +- system/application/models/file_mod.php | 6 +++--- system/application/views/file/non_existant.php | 3 --- system/application/views/file/non_existent.php | 3 +++ 4 files changed, 7 insertions(+), 7 deletions(-) delete mode 100644 system/application/views/file/non_existant.php create mode 100644 system/application/views/file/non_existent.php (limited to 'system/application') diff --git a/system/application/controllers/file.php b/system/application/controllers/file.php index a8ab406f7..ab3ff5301 100644 --- a/system/application/controllers/file.php +++ b/system/application/controllers/file.php @@ -45,7 +45,7 @@ class File extends Controller { } elseif ($this->var->cli_client) { die("No upload or unknown ID requested.\n"); } elseif ($id != "file") { - $this->file_mod->non_existant(); + $this->file_mod->non_existent(); } else { $this->upload_form(); } diff --git a/system/application/models/file_mod.php b/system/application/models/file_mod.php index 0c52bb012..8716158ad 100644 --- a/system/application/models/file_mod.php +++ b/system/application/models/file_mod.php @@ -138,12 +138,12 @@ class File_mod extends Model { } } - function non_existant() + function non_existent() { $data["title"] = "Not Found"; $this->output->set_status_header(404); $this->load->view('file/header', $data); - $this->load->view('file/non_existant', $data); + $this->load->view('file/non_existent', $data); $this->load->view('file/footer', $data); } @@ -167,7 +167,7 @@ class File_mod extends Model { } else { $this->db->query('DELETE FROM files WHERE id = ? LIMIT 1', array($id)); } - $this->non_existant(); + $this->non_existent(); return; } // MODIFIED SINCE SUPPORT -- START diff --git a/system/application/views/file/non_existant.php b/system/application/views/file/non_existant.php deleted file mode 100644 index 9f4a79913..000000000 --- a/system/application/views/file/non_existant.php +++ /dev/null @@ -1,3 +0,0 @@ -
-

I'm sorry, but the requested file doesn't exist.

-
diff --git a/system/application/views/file/non_existent.php b/system/application/views/file/non_existent.php new file mode 100644 index 000000000..9f4a79913 --- /dev/null +++ b/system/application/views/file/non_existent.php @@ -0,0 +1,3 @@ +
+

I'm sorry, but the requested file doesn't exist.

+
-- cgit v1.2.3-24-g4f1b