Removing more code from test app home.ctp file so testing becomes easier

This commit is contained in:
Jose Lorenzo Rodriguez 2011-03-21 01:09:39 -04:30
parent 433e9e7177
commit c9ae3c26c4
2 changed files with 0 additions and 9 deletions

View file

@ -54,6 +54,5 @@ $cakeDescription = __d('cake_dev', 'CakePHP: the rapid development php framework
?>
</div>
</div>
<?php echo $this->element('sql_dump'); ?>
</body>
</html>

View file

@ -15,18 +15,10 @@
* @since CakePHP(tm) v 0.10.0.1076
* @license MIT License (http://www.opensource.org/licenses/mit-license.php)
*/
if (Configure::read('debug') == 0):
throw new NotFoundException();
endif;
App::uses('Debugger', 'Utility');
?>
<h2><?php echo __d('cake_dev', 'Release Notes for CakePHP %s.', Configure::version()); ?></h2>
<a href="http://cakephp.org/changelogs/1.3.6"><?php __d('cake_dev', 'Read the changelog'); ?> </a>
<?php
if (Configure::read('debug') > 0):
Debugger::checkSecurityKeys();
endif;
?>
<p>
<?php
if (is_writable(TMP)):