소스 검색

fix news controller xclass crash

Olivier Massot 1 년 전
부모
커밋
5624679a07
2개의 변경된 파일5개의 추가작업 그리고 2개의 파일을 삭제
  1. 3 0
      ot_templating/Configuration/Services.yaml
  2. 2 2
      ot_templating/ext_localconf.php

+ 3 - 0
ot_templating/Configuration/Services.yaml

@@ -8,3 +8,6 @@ services:
     resource: '../Classes/*'
 
   TYPO3\CMS\Form\Mvc\Configuration\ConfigurationManager: '@Opentalent\OtTemplating\XClass\Form\Configuration\ConfigurationManager'
+
+  GeorgRinger\News\Controller\NewsController:
+    public: true

+ 2 - 2
ot_templating/ext_localconf.php

@@ -22,6 +22,6 @@ $GLOBALS['TYPO3_CONF_VARS']['SYS']['Objects'][TYPO3\CMS\Form\Mvc\Configuration\C
 $GLOBALS['TYPO3_CONF_VARS']['SYS']['Objects'][TYPO3\CMS\Form\Domain\Finishers\EmailFinisher::class] = [
     'className' => Opentalent\OtTemplating\XClass\Form\Finishers\EmailFinisher::class
 ];
-$GLOBALS['TYPO3_CONF_VARS']['SYS']['Objects'][GeorgRinger\News\Controller\NewsController::class] = [
-    'className' => Opentalent\OtTemplating\XClass\News\NewsController::class
+$GLOBALS['TYPO3_CONF_VARS']['SYS']['Objects'][\GeorgRinger\News\Controller\NewsController::class] = [
+    'className' => \Opentalent\OtTemplating\XClass\News\NewsController::class
 ];