$this->
subscribeEvent( 'Enlight_Controller_Front_RouteShutdown',
'onRouteShutdown',
-100
);
$form =
$this->
Form();
/** @var \Shopware\Models\Config\Form $parent */
$parent =
$this->
Forms()->
findOneBy(['name' => 'Core'
]);
$form->
setParent($parent);
$form->
setElement('boolean', 'sql_protection',
['label' => 'SQL-Injection-Schutz aktivieren', 'value' => true
]);
$form->
setElement('boolean', 'xss_protection',
['label' => 'XSS-Schutz aktivieren', 'value' => true
]);
$form->
setElement('boolean', 'rfi_protection',
['label' => 'RemoteFileInclusion-Schutz aktivieren', 'value' => true
]);
$form->
setElement('boolean', 'strip_tags',
['label' => 'Global strip_tags verwenden', 'value' => true
]);
$form->
setElement('textarea', 'own_filter',
['label' => 'Eigener Filter', 'value' => null
]);
return true;
} /**
* @return void
*/