forked from Snck3rs/contao-leaflet-maps
Add defined check.
This commit is contained in:
@@ -44,7 +44,7 @@ array_insert(
|
||||
]
|
||||
);
|
||||
|
||||
if (TL_MODE === 'BE') {
|
||||
if (defined('TL_MODE') && TL_MODE === 'BE') {
|
||||
$GLOBALS['TL_CSS'][] = 'bundles/netzmachtcontaoleaflet/css/backend_global.css';
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user