Files
contao-leaflet-maps/assets/data.php

12 lines
334 B
PHP
Raw Normal View History

2015-01-06 14:55:53 +01:00
<?php
2015-01-07 10:33:10 +01:00
use Netzmacht\Contao\Leaflet\Controller\DataController;
2015-01-06 14:55:53 +01:00
define('TL_MODE', 'FE');
2015-01-06 18:49:01 +01:00
require(dirname(dirname(dirname($_SERVER['SCRIPT_FILENAME']))) . '/system/initialize.php');
2015-01-06 14:55:53 +01:00
$container = $GLOBALS['container'];
2015-01-07 10:33:10 +01:00
$controller = new DataController($container['leaflet.map.service'], $container['input']);
2015-01-06 14:55:53 +01:00
2015-01-06 18:49:01 +01:00
$controller->execute();