Browse Source

Call static getInstance instead of protected contructor of AeoJavaScript

master
Carsten Götzinger 4 years ago
parent
commit
de73c3d2ec
  1. 2
      src/Resources/contao/util/AeoFrontendUtil.php

2
src/Resources/contao/util/AeoFrontendUtil.php

@ -92,7 +92,7 @@ class AeoFrontendUtil extends \Frontend {
if (TL_MODE == 'FE') {
global $objPage;
$this->aeoUtil = new AeoUtil();
$this->aeoJavaScript = new AeoJavaScript();
$this->aeoJavaScript = AeoJavaScript::getInstance();
if ($GLOBALS['TL_CONFIG']['aeo_replace_standard_obfuscation'] === true) {
$this->use_rot_13 = $GLOBALS['TL_CONFIG']['aeo_use_rot_13'];

Loading…
Cancel
Save