forked from Snck3rs/contao-leaflet-maps
Fix paths.
This commit is contained in:
@@ -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.
|
||||
|
||||
@@ -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'
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user