mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-09-09 04:52:42 +00:00
Changing initial uses of App::uses() to the new packages system
This commit is contained in:
parent
07e43bb0f8
commit
8436fd53d0
11 changed files with 13 additions and 13 deletions
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue