Dear community,
from the moment i Add folowing to config.php (like in official documentation)
c::set('languages', array(
array(
'code' => 'en',
'name' => 'English',
'default' => true,
'locale' => 'en_US',
'url' => '/',
),
array(
'code' => 'de',
'name' => 'Deutsch',
'locale' => 'de_DE',
'url' => '/de',
),
));
the website instantly breaks.
Important: the website is in a subfolder
mydomain.com/structure/401/kirby
and is working perfectly fine (until I do something like above). I tried adding
c::set('url', 'https://www.mydomain.com/structure/401/kirby');
above in config but it didn’t worked.
I’d be very happy to read how other people solved this.