mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-09-03 01:52:40 +00:00
Applying patch from 'davidpersson' fixing code spacing. Closes #5643
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7772 3807eeeb-6ff5-0310-8944-8be069107fe0
This commit is contained in:
parent
6da2040b45
commit
1b456f2cf1
70 changed files with 233 additions and 233 deletions
|
@ -110,9 +110,9 @@ class ErrorHandler extends Object {
|
|||
}
|
||||
|
||||
if ($method !== 'error') {
|
||||
if (Configure::read() == 0){
|
||||
if (Configure::read() == 0) {
|
||||
$method = 'error404';
|
||||
if(isset($code) && $code == 500) {
|
||||
if (isset($code) && $code == 500) {
|
||||
$method = 'error500';
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue