*/ if (SF_APP == 'backend') { /** * Włączanie modułów */ stPluginHelper::addEnableModule('stSecurityBackend'); /** * Dodawanie routingów */ stPluginHelper::addRouting('stSecurityPlugin', '/security/:action/*', 'stSecurityBackend', 'index'); $dispatcher->connect('stTaskConfiguration.getTasks', array('stSecurityListener', 'addTaskScheluderTasks')); } stSecurity::addCSPException('https://disqus.com');