Files
contao-leaflet-maps/assets/data.php
2015-01-07 10:33:10 +01:00

12 lines
334 B
PHP

<?php
use Netzmacht\Contao\Leaflet\Controller\DataController;
define('TL_MODE', 'FE');
require(dirname(dirname(dirname($_SERVER['SCRIPT_FILENAME']))) . '/system/initialize.php');
$container = $GLOBALS['container'];
$controller = new DataController($container['leaflet.map.service'], $container['input']);
$controller->execute();