Fix paths.

This commit is contained in:
David Molineus
2015-01-10 13:12:47 +01:00
parent d79902754b
commit e2fe316758
2 changed files with 2 additions and 2 deletions

View File

@@ -20,7 +20,7 @@ use ContaoCommunityAlliance\UrlBuilder\UrlBuilder;
*/
class RequestUrl
{
const BASE = 'assets/leaflet/data.php';
const BASE = 'assets/leaflet/maps/data.php';
/**
* Create the request url.

View File

@@ -114,7 +114,7 @@ class BootSubscriber implements EventSubscriberInterface
*/
public function loadAssets()
{
$GLOBALS['TL_JAVASCRIPT'][] = 'assets/leaflet/libs/contao/contao-leaflet.js' . (\Config::get('debugMode')
$GLOBALS['TL_JAVASCRIPT'][] = 'assets/leaflet/maps/contao-leaflet.js' . (\Config::get('debugMode')
? ''
: '|static'
);