This commit is contained in:
Gregwar 2012-12-02 13:17:04 +01:00
parent a8b45f737d
commit 0bd0173551
1 changed files with 1 additions and 5 deletions

View File

@ -12,7 +12,6 @@ class GregwarCaptchaExtension extends Extension
{
public function load(array $configs, ContainerBuilder $container)
{
$loader = new YamlFileLoader($container, new FileLocator(__DIR__.'/../Resources/config'));
$loader->load('services.yml');
@ -22,9 +21,6 @@ class GregwarCaptchaExtension extends Extension
$container->setParameter('gregwar_captcha.config', $config);
$resources = $container->getParameter('twig.form.resources');
$container->setParameter('twig.form.resources',array_merge(array('GregwarCaptchaBundle::captcha.html.twig'), $resources));
$container->setParameter('twig.form.resources', array_merge(array('GregwarCaptchaBundle::captcha.html.twig'), $resources));
}
}