From 74c786c24b8fb9e3f0ec51c596625bf77b85ccbf Mon Sep 17 00:00:00 2001 From: David Molineus Date: Mon, 12 Jan 2015 17:05:32 +0100 Subject: [PATCH] Move DataController into Frontend namespace. --- assets/maps/data.php | 11 ++++++++++- .../{Controller => Frontend}/DataController.php | 2 +- 2 files changed, 11 insertions(+), 2 deletions(-) rename src/Netzmacht/Contao/Leaflet/{Controller => Frontend}/DataController.php (97%) diff --git a/assets/maps/data.php b/assets/maps/data.php index f13c70c..ff8815f 100644 --- a/assets/maps/data.php +++ b/assets/maps/data.php @@ -1,6 +1,15 @@ + * @copyright 2014 netzmacht creative David Molineus + * @license LGPL 3.0 + * @filesource + * + */ + +use Netzmacht\Contao\Leaflet\Frontend\DataController; define('TL_MODE', 'FE'); require(dirname(dirname(dirname(dirname($_SERVER['SCRIPT_FILENAME'])))) . '/system/initialize.php'); diff --git a/src/Netzmacht/Contao/Leaflet/Controller/DataController.php b/src/Netzmacht/Contao/Leaflet/Frontend/DataController.php similarity index 97% rename from src/Netzmacht/Contao/Leaflet/Controller/DataController.php rename to src/Netzmacht/Contao/Leaflet/Frontend/DataController.php index 47be6f3..cad9c86 100644 --- a/src/Netzmacht/Contao/Leaflet/Controller/DataController.php +++ b/src/Netzmacht/Contao/Leaflet/Frontend/DataController.php @@ -9,7 +9,7 @@ * */ -namespace Netzmacht\Contao\Leaflet\Controller; +namespace Netzmacht\Contao\Leaflet\Frontend; use Netzmacht\Contao\Leaflet\MapService;