File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1818
1919use Cake \Core \Configure ;
2020use Cake \Core \ContainerInterface ;
21- use Cake \Datasource \FactoryLocator ;
2221use Cake \Error \Middleware \ErrorHandlerMiddleware ;
2322use Cake \Http \BaseApplication ;
2423use Cake \Http \Middleware \BodyParserMiddleware ;
2524use Cake \Http \Middleware \CsrfProtectionMiddleware ;
2625use Cake \Http \MiddlewareQueue ;
27- use Cake \ORM \Locator \TableLocator ;
2826use Cake \Routing \Middleware \AssetMiddleware ;
2927use Cake \Routing \Middleware \RoutingMiddleware ;
3028
@@ -49,9 +47,9 @@ public function bootstrap(): void
4947 parent ::bootstrap ();
5048
5149 // Use if you need fallback tables
52- //FactoryLocator::add(
50+ //\Cake\Datasource\ FactoryLocator::add(
5351 // 'Table',
54- // (new TableLocator())->allowFallbackClass(false),
52+ // (new \Cake\ORM\Locator\ TableLocator())->allowFallbackClass(false),
5553 //);
5654 }
5755
You can’t perform that action at this time.
0 commit comments