Browse code

Add slash to root path

Benjamin Roth authored on12/12/2019 15:26:40
Showing1 changed files
... ...
@@ -91,7 +91,7 @@ class TemplateListener
91 91
 
92 92
       if (strpos($strBuffer, '<head>'))
93 93
       {
94
-        $strInject = '<script src="'.\Environment::get('path').'system/modules/eSM_cookieconsent/assets/js/lib/cookieconsent.min.js"></script>';
94
+        $strInject = '<script src="'.\Environment::get('path').'/system/modules/eSM_cookieconsent/assets/js/lib/cookieconsent.min.js"></script>';
95 95
 
96 96
         $strInject .= $Template->parse();
97 97