mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-01-18 18:46:17 +00:00
Fixing fatal error caused by Debugger not being loaded when viewing the default home page.
This commit is contained in:
parent
be963385dc
commit
3d966be1e8
2 changed files with 2 additions and 0 deletions
|
@ -2,6 +2,7 @@
|
|||
$output = "<h2>Sweet, \"" . Inflector::humanize($app) . "\" got Baked by CakePHP!</h2>\n";
|
||||
$output .="
|
||||
<?php
|
||||
App::import('Core', 'Debugger');
|
||||
if (Configure::read() > 0):
|
||||
Debugger::checkSecurityKeys();
|
||||
endif;
|
||||
|
|
|
@ -18,6 +18,7 @@
|
|||
if (Configure::read() == 0):
|
||||
throw new NotFoundException();
|
||||
endif;
|
||||
App::import('Core', 'Debugger');
|
||||
?>
|
||||
<h2><?php echo __('Release Notes for CakePHP %s.', Configure::version()); ?></h2>
|
||||
<a href="http://cakephp.org/changelogs/1.3.6"><?php __('Read the changelog'); ?> </a>
|
||||
|
|
Loading…
Add table
Reference in a new issue