瀏覽代碼

restore previous routing optim for the duration of the tests

Olivier Massot 4 年之前
父節點
當前提交
fef2d4f7d8
共有 1 個文件被更改,包括 3 次插入3 次删除
  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)