Fixed TheliaLoop Smarty plugin (lopp imbrication was broken)

This commit is contained in:
franck
2013-09-04 19:02:26 +02:00
parent 31c074d492
commit d3a287333e
17 changed files with 484 additions and 17 deletions

View File

@@ -48,6 +48,8 @@ class URL
public function __construct(ContainerInterface $container, $environment)
{
// Allow singleton style calls once intanciated.
// For this to work, the URL service has to be instanciated very early. This is done manually
// in TheliaHttpKernel, by calling $this->container->get('thelia.url.manager');
self::$instance = $this;
$this->container = $container;