mirror of
https://github.com/netzmacht/contao-leaflet-maps.git
synced 2025-12-01 20:43:52 +01:00
Add credits page
This commit is contained in:
@@ -94,7 +94,7 @@ class BootSubscriber implements EventSubscriberInterface
|
||||
{
|
||||
$builder = $event->getBuilder();
|
||||
|
||||
foreach ($GLOBALS['LEAFLET_ASSETS'] as $name => $assets) {
|
||||
foreach ($GLOBALS['LEAFLET_LIBRARIES'] as $name => $assets) {
|
||||
if (!empty($assets['css'])) {
|
||||
list ($source, $type) = (array) $assets['css'];
|
||||
$builder->registerStylesheet($name, $source, $type ?: Assets::TYPE_FILE);
|
||||
|
||||
Reference in New Issue
Block a user