mirror of
https://github.com/netzmacht/contao-leaflet-maps.git
synced 2025-11-30 20:13:49 +01:00
Do not require that all libraries are installed after contao leaflet. So contao-leaflet-libaries does not need a requirement on this extension.
This commit is contained in:
@@ -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.
|
* 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.
|
* 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();
|
||||||
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user