# Smarty Security Config Switch mit Shopware 5.4

**URL:** https://forum.shopware.com/t/smarty-security-config-switch-mit-shopware-5-4/47968
**Category:** Programmierung
**Created:** [31. August 2017 um 14:55 UTC](https://forum.shopware.com/t/smarty-security-config-switch-mit-shopware-5-4/47968 "2017-08-31T14:55:56Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![langnickel](https://avatars.discourse-cdn.com/v4/letter/l/3ec8ea/32.png) [@langnickel](https://forum.shopware.com/u/langnickel)
#### Post date: [31. August 2017 um 14:55 UTC](https://forum.shopware.com/t/smarty-security-config-switch-mit-shopware-5-4/47968/1 "2017-08-31T14:55:56Z")

</div>

Der Config-Switch template\_security scheint deprecated.

```
        /*
         * @deprecated with 5.3, config switch will be removed with 5.4
         */
        if (true === $securityConfig['enabled']) {
            $template->enableSecurity(
                new Security($template, $securityConfig)
            );
        }

```

Welche Möglichkeit wird dann mit 5.4 geben smarty / php-funktionen zu erlauben bzw den security mode zu deaktivieren? Etwas im Backend?
