Skip to content
Permalink
Browse files

Updating old usage `Configure::read()` to new `Configure::read('debug…

…')`. Closes #2070
  • Loading branch information...
ADmad committed Oct 6, 2011
1 parent 17963e9 commit fa214e871601c854ce75c51245b3aa0829a11b81
@@ -7,12 +7,12 @@ $output .= "<h2>Sweet, \"" . Inflector::humanize($app) . "\" got Baked by CakePH
$output .="
<?php
App::uses('Debugger', 'Utility');
if (Configure::read() > 0):
if (Configure::read('debug') > 0):
Debugger::checkSecurityKeys();
endif;
?>
<p>
<?php
<?php
if (version_compare(PHP_VERSION, '5.2.6', '>=')):
echo '<span class=\"notice success\">';
echo __d('cake_dev', 'Your version of PHP is 5.2.6 or higher.');
@@ -22,7 +22,7 @@
<?php echo $this->Html->charset(); ?>
<title><?php echo $page_title; ?></title>

<?php if (Configure::read() == 0) { ?>
<?php if (Configure::read('debug') == 0) { ?>
<meta http-equiv="Refresh" content="<?php echo $pause?>;url=<?php echo $url?>"/>
<?php } ?>
<style><!--
@@ -22,7 +22,7 @@
<?php echo $this->Html->charset(); ?>
<title><?php echo $page_title; ?></title>

<?php if (Configure::read() == 0) { ?>
<?php if (Configure::read('debug') == 0) { ?>
<meta http-equiv="Refresh" content="<?php echo $pause; ?>;url=<?php echo $url; ?>"/>
<?php } ?>
<style><!--

0 comments on commit fa214e8

Please sign in to comment.
You can’t perform that action at this time.