forked from Snck3rs/contao-leaflet-maps
12 lines
340 B
PHP
12 lines
340 B
PHP
<?php
|
|
|
|
use Netzmacht\Contao\Leaflet\Controller\GeoJsonController;
|
|
|
|
define('TL_MODE', 'FE');
|
|
require(dirname(dirname(dirname($_SERVER['SCRIPT_FILENAME']))) . '/system/initialize.php');
|
|
|
|
$container = $GLOBALS['container'];
|
|
$controller = new GeoJsonController($container['leaflet.map.service'], $container['input']);
|
|
|
|
$controller->execute();
|