Skip to content

Commit

Permalink
changes in the core dir
Browse files Browse the repository at this point in the history
  • Loading branch information
AD7six committed Mar 12, 2011
1 parent cb7f0f0 commit d264d0f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions lib/Cake/Core/Configure.php
Expand Up @@ -70,14 +70,14 @@ public static function bootstrap($boot = true) {
));

if (!include(CONFIGS . 'core.php')) {
trigger_error(__("Can't find application core file. Please create %score.php, and make sure it is readable by PHP.", CONFIGS), E_USER_ERROR);
trigger_error(__d('cake', "Can't find application core file. Please create %score.php, and make sure it is readable by PHP.", CONFIGS), E_USER_ERROR);
}

if (empty(self::$_values['Cache']['disable'])) {
$cache = Cache::config('default');

if (empty($cache['settings'])) {
trigger_error(__('Cache not configured properly. Please check Cache::config(); in APP/config/core.php'), E_USER_WARNING);
trigger_error(__d('cake', 'Cache not configured properly. Please check Cache::config(); in APP/config/core.php'), E_USER_WARNING);
$cache = Cache::config('default', array('engine' => 'File'));
}
$path = $prefix = $duration = null;
Expand Down Expand Up @@ -113,7 +113,7 @@ public static function bootstrap($boot = true) {
App::init();
App::build();
if (!include(CONFIGS . 'bootstrap.php')) {
trigger_error(__("Can't find application bootstrap file. Please create %sbootstrap.php, and make sure it is readable by PHP.", CONFIGS), E_USER_ERROR);
trigger_error(__d('cake', "Can't find application bootstrap file. Please create %sbootstrap.php, and make sure it is readable by PHP.", CONFIGS), E_USER_ERROR);
}
$level = -1;
if (isset(self::$_values['Error']['level'])) {
Expand Down

0 comments on commit d264d0f

Please sign in to comment.