Explorar o código

restore previous routing optim for the duration of the tests

Olivier Massot %!s(int64=4) %!d(string=hai) anos
pai
achega
fef2d4f7d8
Modificáronse 1 ficheiros con 3 adicións e 3 borrados
  1. 3 3
      ot_optimizer/ext_localconf.php

+ 3 - 3
ot_optimizer/ext_localconf.php

@@ -1,9 +1,9 @@
 <?php
 defined('TYPO3_MODE') || die();
 
-//$GLOBALS['TYPO3_CONF_VARS']['SYS']['Objects'][TYPO3\CMS\Core\Routing\PageRouter::class] = [
-//    'className' => Opentalent\OtOptimizer\XClass\Core\Routing\OtPageRouter::class
-//];
+$GLOBALS['TYPO3_CONF_VARS']['SYS']['Objects'][TYPO3\CMS\Core\Routing\PageRouter::class] = [
+    'className' => Opentalent\OtOptimizer\XClass\Core\Routing\OtPageRouter::class
+];
 
 // \TYPO3\CMS\Frontend\Middleware\SiteResolver is overridden but not xclassed here; instead it is
 //   replaced in the middlewares array (@see ot_optimizer/Configuration/RequestMiddlewares.php)