Changing initial uses of App::uses() to the new packages system

This commit is contained in:
José Lorenzo Rodríguez 2010-12-15 01:20:02 -04:30
parent 07e43bb0f8
commit 8436fd53d0
11 changed files with 13 additions and 13 deletions

View file

@ -570,7 +570,7 @@ class Router {
*/
private static function __connectDefaultRoutes() {
if ($plugins = App::objects('plugin')) {
App::uses('PluginShortRoute', 'Core');
App::uses('PluginShortRoute', 'Routing/Route');
foreach ($plugins as $key => $value) {
$plugins[$key] = Inflector::underscore($value);
}