Add defined check.

This commit is contained in:
David Molineus
2018-12-17 15:20:51 +01:00
parent d5407357d8
commit 997e16891b

View File

@@ -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';
}