forked from Snck3rs/contao-leaflet-maps
Restructure libraries.
This commit is contained in:
@@ -1,11 +0,0 @@
|
||||
<?php
|
||||
|
||||
use Netzmacht\Contao\Leaflet\Controller\GeoJsonController;
|
||||
|
||||
define('TL_MODE', 'FE');
|
||||
require(dirname(dirname(dirname(dirname($_SERVER['SCRIPT_FILENAME'])))) . '/initialize.php');
|
||||
|
||||
$container = $GLOBALS['container'];
|
||||
$controller = new GeoJsonController($container['leaflet.map.service'], $container['input']);
|
||||
|
||||
echo $controller->execute();
|
||||
Reference in New Issue
Block a user