Skip to content

Commit

Permalink
Using exit instead of die, as did in 2e8bbd5.
Browse files Browse the repository at this point in the history
Fixing an typo.
Using i18n on test.php file and pointing it to right directory.
  • Loading branch information
renan committed Jun 12, 2011
1 parent 2a3f49b commit 564bf87
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 9 deletions.
8 changes: 4 additions & 4 deletions app/Config/acl.ini.php
@@ -1,12 +1,12 @@
;<?php die() ?>
;<?php exit() ?>
; SVN FILE: $Id$
;/**
; * ACL configuration
; * ACL Configuration
; *
; *
; * PHP 5
; *
; * CakePHP(tm) : Rapid Development Framework http://cakephp.org
; * CakePHP(tm) : Rapid Development Framework http://www.cakephp.org/
; * Copyright 2005-2011, Cake Software Foundation, Inc. (http://cakefoundation.org)
; *
; * Licensed under The MIT License
Expand Down Expand Up @@ -66,4 +66,4 @@

[groupname-goes-here]
deny = aco5, aco6
allow = aco7, aco8
allow = aco7, aco8
3 changes: 1 addition & 2 deletions lib/Cake/Console/Templates/skel/Config/core.php
Expand Up @@ -287,7 +287,7 @@

/**
* Pick the caching engine to use. If APC is enabled use it.
* If running via cli - apc is disabled by default. ensure it's avaiable and enabled in this case
* If running via cli - apc is disabled by default. ensure it's available and enabled in this case
*
*/
$engine = 'File';
Expand Down Expand Up @@ -324,4 +324,3 @@
'serialize' => ($engine === 'File'),
'duration' => $duration
));

6 changes: 3 additions & 3 deletions lib/Cake/Console/Templates/skel/webroot/test.php
Expand Up @@ -45,11 +45,11 @@
define('APP_DIR', basename(dirname(dirname(__FILE__))));
}
/**
* The absolute path to the "cake" directory, WITHOUT a trailing DS.
* The absolute path to the "Cake" directory, WITHOUT a trailing DS.
*
*/
if (!defined('CAKE_CORE_INCLUDE_PATH')) {
define('CAKE_CORE_INCLUDE_PATH', ROOT);
define('CAKE_CORE_INCLUDE_PATH', ROOT . DS . 'lib');
}

/**
Expand All @@ -72,7 +72,7 @@
}

if (Configure::read('debug') < 1) {
die(__('Debug setting does not allow access to this url.'));
die(__d('cake', 'Debug setting does not allow access to this url.'));
}

require_once CAKE . 'TestSuite' . DS . 'CakeTestSuiteDispatcher.php';
Expand Down

0 comments on commit 564bf87

Please sign in to comment.