Update to Kirby 3.7.5
This commit is contained in:
@@ -23,7 +23,6 @@ class LanguageRoutes
|
||||
$baseurl = $kirby->url();
|
||||
|
||||
foreach ($kirby->languages() as $language) {
|
||||
|
||||
// ignore languages with a different base url
|
||||
if ($language->baseurl() !== $baseurl) {
|
||||
continue;
|
||||
@@ -66,7 +65,6 @@ class LanguageRoutes
|
||||
'method' => 'ALL',
|
||||
'env' => 'site',
|
||||
'action' => function (string $path) use ($kirby) {
|
||||
|
||||
// check for content representations or files
|
||||
$extension = F::extension($path);
|
||||
|
||||
@@ -115,7 +113,6 @@ class LanguageRoutes
|
||||
'method' => 'ALL',
|
||||
'env' => 'site',
|
||||
'action' => function () use ($kirby) {
|
||||
|
||||
// find all languages with the same base url as the current installation
|
||||
$languages = $kirby->languages()->filter('baseurl', $kirby->url());
|
||||
|
||||
|
Reference in New Issue
Block a user