Skip to content

Commit

Permalink
Removing more code from test app home.ctp file so testing becomes easier
Browse files Browse the repository at this point in the history
  • Loading branch information
lorenzo committed Mar 21, 2011
1 parent 433e9e7 commit c9ae3c2
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 9 deletions.
1 change: 0 additions & 1 deletion lib/Cake/tests/test_app/views/layouts/default.ctp
Expand Up @@ -54,6 +54,5 @@ $cakeDescription = __d('cake_dev', 'CakePHP: the rapid development php framework
?>
</div>
</div>
<?php echo $this->element('sql_dump'); ?>
</body>
</html>
8 changes: 0 additions & 8 deletions lib/Cake/tests/test_app/views/pages/home.ctp
Expand Up @@ -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)):
Expand Down

0 comments on commit c9ae3c2

Please sign in to comment.