Skip to content

Commit

Permalink
Updating Multibyte class to use new Configure api.
Browse files Browse the repository at this point in the history
  • Loading branch information
markstory committed Dec 5, 2010
1 parent 5ad8d8a commit 9dd78c7
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion cake/libs/multibyte.php
Expand Up @@ -1077,7 +1077,11 @@ private static function __find($char, $type = 'lower') {
if ($range === false) {
return null;
}
Configure::load('unicode' . DS . 'casefolding' . DS . $range);
if (!Configure::configured('_cake_core_')) {
App::import('Core', 'config/PhpReader');
Configure::config('_cake_core_', new PhpReader(CAKE . 'config' . DS));
}
Configure::load('unicode' . DS . 'casefolding' . DS . $range, '_cake_core_');
self::$__caseFold[$range] = Configure::read($range);
Configure::delete($range);
}
Expand Down

0 comments on commit 9dd78c7

Please sign in to comment.