@@ -316,33 +316,34 @@ public function load(): Loader
316316 public function roots (): array
317317 {
318318 return $ this ->cache ['roots ' ] ??= [
319- 'kirby ' => fn (array $ roots ) => dirname (__DIR__ , 2 ),
320- 'i18n ' => fn (array $ roots ) => $ roots ['kirby ' ] . '/i18n ' ,
319+ 'kirby ' => fn (array $ roots ) => dirname (__DIR__ , 2 ),
320+ 'i18n ' => fn (array $ roots ) => $ roots ['kirby ' ] . '/i18n ' ,
321321 'i18n:translations ' => fn (array $ roots ) => $ roots ['i18n ' ] . '/translations ' ,
322- 'i18n:rules ' => fn (array $ roots ) => $ roots ['i18n ' ] . '/rules ' ,
323-
324- 'index ' => fn (array $ roots ) => static ::$ indexRoot ?? dirname (__DIR__ , 3 ),
325- 'assets ' => fn (array $ roots ) => $ roots ['index ' ] . '/assets ' ,
326- 'content ' => fn (array $ roots ) => $ roots ['index ' ] . '/content ' ,
327- 'media ' => fn (array $ roots ) => $ roots ['index ' ] . '/media ' ,
328- 'panel ' => fn (array $ roots ) => $ roots ['kirby ' ] . '/panel ' ,
329- 'site ' => fn (array $ roots ) => $ roots ['index ' ] . '/site ' ,
330- 'accounts ' => fn (array $ roots ) => $ roots ['site ' ] . '/accounts ' ,
331- 'blueprints ' => fn (array $ roots ) => $ roots ['site ' ] . '/blueprints ' ,
332- 'cache ' => fn (array $ roots ) => $ roots ['site ' ] . '/cache ' ,
333- 'collections ' => fn (array $ roots ) => $ roots ['site ' ] . '/collections ' ,
334- 'commands ' => fn (array $ roots ) => $ roots ['site ' ] . '/commands ' ,
335- 'config ' => fn (array $ roots ) => $ roots ['site ' ] . '/config ' ,
336- 'controllers ' => fn (array $ roots ) => $ roots ['site ' ] . '/controllers ' ,
337- 'languages ' => fn (array $ roots ) => $ roots ['site ' ] . '/languages ' ,
338- 'license ' => fn (array $ roots ) => $ roots ['config ' ] . '/.license ' ,
339- 'logs ' => fn (array $ roots ) => $ roots ['site ' ] . '/logs ' ,
340- 'models ' => fn (array $ roots ) => $ roots ['site ' ] . '/models ' ,
341- 'plugins ' => fn (array $ roots ) => $ roots ['site ' ] . '/plugins ' ,
342- 'sessions ' => fn (array $ roots ) => $ roots ['site ' ] . '/sessions ' ,
343- 'snippets ' => fn (array $ roots ) => $ roots ['site ' ] . '/snippets ' ,
344- 'templates ' => fn (array $ roots ) => $ roots ['site ' ] . '/templates ' ,
345- 'roles ' => fn (array $ roots ) => $ roots ['blueprints ' ] . '/users ' ,
322+ 'i18n:rules ' => fn (array $ roots ) => $ roots ['i18n ' ] . '/rules ' ,
323+
324+ 'index ' => fn (array $ roots ) => static ::$ indexRoot ?? dirname (__DIR__ , 3 ),
325+ 'assets ' => fn (array $ roots ) => $ roots ['index ' ] . '/assets ' ,
326+ 'content ' => fn (array $ roots ) => $ roots ['index ' ] . '/content ' ,
327+ 'media ' => fn (array $ roots ) => $ roots ['index ' ] . '/media ' ,
328+ 'panel ' => fn (array $ roots ) => $ roots ['kirby ' ] . '/panel ' ,
329+ 'site ' => fn (array $ roots ) => $ roots ['index ' ] . '/site ' ,
330+ 'accounts ' => fn (array $ roots ) => $ roots ['site ' ] . '/accounts ' ,
331+ 'blueprints ' => fn (array $ roots ) => $ roots ['site ' ] . '/blueprints ' ,
332+ 'cache ' => fn (array $ roots ) => $ roots ['site ' ] . '/cache ' ,
333+ 'collections ' => fn (array $ roots ) => $ roots ['site ' ] . '/collections ' ,
334+ 'commands ' => fn (array $ roots ) => $ roots ['site ' ] . '/commands ' ,
335+ 'config ' => fn (array $ roots ) => $ roots ['site ' ] . '/config ' ,
336+ 'controllers ' => fn (array $ roots ) => $ roots ['site ' ] . '/controllers ' ,
337+ 'languages ' => fn (array $ roots ) => $ roots ['site ' ] . '/languages ' ,
338+ 'license ' => fn (array $ roots ) => $ roots ['config ' ] . '/.license ' ,
339+ 'logs ' => fn (array $ roots ) => $ roots ['site ' ] . '/logs ' ,
340+ 'models ' => fn (array $ roots ) => $ roots ['site ' ] . '/models ' ,
341+ 'plugins ' => fn (array $ roots ) => $ roots ['site ' ] . '/plugins ' ,
342+ 'roles ' => fn (array $ roots ) => $ roots ['blueprints ' ] . '/users ' ,
343+ 'sessions ' => fn (array $ roots ) => $ roots ['site ' ] . '/sessions ' ,
344+ 'snippets ' => fn (array $ roots ) => $ roots ['site ' ] . '/snippets ' ,
345+ 'templates ' => fn (array $ roots ) => $ roots ['site ' ] . '/templates ' ,
346+ 'translations ' => null ,
346347 ];
347348 }
348349
0 commit comments