From c265c0854ee3e802374a2627914c2dd74de05028 Mon Sep 17 00:00:00 2001 From: David Molineus Date: Sat, 10 Jan 2015 13:30:15 +0100 Subject: [PATCH] Do not require that all libraries are installed after contao leaflet. So contao-leaflet-libaries does not need a requirement on this extension. --- module/config/config.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/module/config/config.php b/module/config/config.php index 6e02a94..70befe7 100644 --- a/module/config/config.php +++ b/module/config/config.php @@ -260,4 +260,6 @@ require_once TL_ROOT . '/system/modules/leaflet/config/leaflet_providers.php'; * You don't have to define it as array if you simply add a file. Do not add |static and or media type flag to it. * It's getting added by default if not being in debug mode. */ -$GLOBALS['LEAFLET_LIBRARIES'] = array(); +if (!isset($GLOBALS['LEAFLET_LIBRARIES'])) { + $GLOBALS['LEAFLET_LIBRARIES'] = array(); +}