diff --git a/core/lib/Thelia/Command/ModuleActivateCommand.php b/core/lib/Thelia/Command/ModuleActivateCommand.php index 1b8ac600f..139f21e9e 100755 --- a/core/lib/Thelia/Command/ModuleActivateCommand.php +++ b/core/lib/Thelia/Command/ModuleActivateCommand.php @@ -63,8 +63,6 @@ class ModuleActivateCommand extends BaseModuleGenerate } try { - new \TheliaDebugBar\TheliaDebugBar(); - $moduleReflection = new \ReflectionClass($module->getFullNamespace()); $moduleInstance = $moduleReflection->newInstance(); diff --git a/core/lib/Thelia/Config/Resources/action.xml b/core/lib/Thelia/Config/Resources/action.xml index 60c435a05..d8252f11b 100755 --- a/core/lib/Thelia/Config/Resources/action.xml +++ b/core/lib/Thelia/Config/Resources/action.xml @@ -4,12 +4,6 @@ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://thelia.net/schema/dic/config http://thelia.net/schema/dic/config/thelia-1.0.xsd"> - - - - - - diff --git a/core/lib/Thelia/Config/Resources/config.xml b/core/lib/Thelia/Config/Resources/config.xml index 5a3548a9c..a5f79b8bf 100755 --- a/core/lib/Thelia/Config/Resources/config.xml +++ b/core/lib/Thelia/Config/Resources/config.xml @@ -4,11 +4,15 @@ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://thelia.net/schema/dic/config http://thelia.net/schema/dic/config/thelia-1.0.xsd"> + + Symfony\Component\HttpKernel\HttpCache\Esi + Symfony\Component\HttpKernel\EventListener\EsiListener + Symfony\Component\HttpKernel\Fragment\EsiFragmentRenderer + Symfony\Component\HttpKernel\Fragment\InlineFragmentRenderer + - - @@ -17,6 +21,20 @@ + + + + + + + + + + + + + + Front\Controller\CustomerController::createAction diff --git a/web/index.php b/web/index.php index 4d50cc633..378bf1430 100755 --- a/web/index.php +++ b/web/index.php @@ -1,4 +1,5 @@ handle($request)->prepare($request)->send(); $thelia->terminate($request, $response); diff --git a/web/index_dev.php b/web/index_dev.php index 6b06585cd..9d516407e 100755 --- a/web/index_dev.php +++ b/web/index_dev.php @@ -24,6 +24,7 @@ use Thelia\Core\Thelia; use Thelia\Core\HttpFoundation\Response; use Thelia\Core\HttpFoundation\Request; +use Thelia\Core\HttpKernel\HttpCache\HttpCache; //use Symfony\Component\DependencyInjection; @@ -45,6 +46,7 @@ if ( false === in_array($request->getClientIp(), $trustedIp)) { } else { $response = $thelia->handle($request)->prepare($request)->send(); $thelia->terminate($request, $response); + }