mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2024-11-15 03:18:26 +00:00
Changed error methods, and a typo in one error file.
git-svn-id: https://svn.cakephp.org/repo/trunk/cake@277 3807eeeb-6ff5-0310-8944-8be069107fe0
This commit is contained in:
parent
d9a7885d0f
commit
975e0b3755
2 changed files with 2 additions and 5 deletions
|
@ -1,6 +1,6 @@
|
|||
<h1>Missing action</h1>
|
||||
|
||||
<p class="error">You are seeing this error because the action <em><?=$this->missing_action;?></em>
|
||||
<p class="error">You are seeing this error because the action <em><?=$this->missingAction;?></em>
|
||||
is not defined in controller <em><?=Inflector::camelize($this->name);?></em>
|
||||
</p>
|
||||
|
||||
|
@ -12,7 +12,7 @@ view file, a user-customizable error page for handling invalid action dispatches
|
|||
|
||||
|
||||
<p>
|
||||
<strong>Error</strong>: Unable to execute action <em><?=$this->missing_action;?></em> on
|
||||
<strong>Error</strong>: Unable to execute action <em><?=$this->missingAction;?></em> on
|
||||
<em><?=Inflector::camelize($this->name);?></em>
|
||||
</p>
|
||||
|
||||
|
|
|
@ -151,21 +151,18 @@ class Controller extends Template
|
|||
|
||||
function missingController()
|
||||
{
|
||||
$this->autoRender = false;
|
||||
//We are simulating action call below, this is not a filename!
|
||||
$this->render('../errors/missingController');
|
||||
}
|
||||
|
||||
function missingAction()
|
||||
{
|
||||
$this->autoRender = false;
|
||||
//We are simulating action call below, this is not a filename!
|
||||
$this->render('../errors/missingAction');
|
||||
}
|
||||
|
||||
function missingView()
|
||||
{
|
||||
$this->autoRender = false;
|
||||
//We are simulating action call below, this is not a filename!
|
||||
$this->render('../errors/missingView');
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue