summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFlorian Pritz <bluewind@xssn.at>2010-12-07 16:53:08 +0100
committerFlorian Pritz <bluewind@xssn.at>2010-12-07 16:53:08 +0100
commit305092987b35e89a7ab08d7180c68d09074800d9 (patch)
treee30f71af52af4c03da8b2d69b5b1ce1bab856009
parentdf391ca93099e17f15875366dce37cacc9079f42 (diff)
fix spelling mistake
Signed-off-by: Florian Pritz <bluewind@xssn.at>
-rw-r--r--system/application/controllers/file.php2
-rw-r--r--system/application/models/file_mod.php6
-rw-r--r--system/application/views/file/non_existent.php (renamed from system/application/views/file/non_existant.php)0
3 files changed, 4 insertions, 4 deletions
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_existent.php
index 9f4a79913..9f4a79913 100644
--- a/system/application/views/file/non_existant.php
+++ b/system/application/views/file/non_existent.php