[BUGFIX] Restore compatibilty with TYPO3 9
This commit is contained in:
parent
1bc7ad1eb0
commit
8502ea3910
@ -825,6 +825,7 @@ class ActionController extends BaseController
|
|||||||
);
|
);
|
||||||
}
|
}
|
||||||
$this->view->assignMultiple($result);
|
$this->view->assignMultiple($result);
|
||||||
|
if (version_compare(TYPO3_branch, '10.0', '>=')) {
|
||||||
return $this
|
return $this
|
||||||
->responseFactory
|
->responseFactory
|
||||||
->createResponse()
|
->createResponse()
|
||||||
@ -833,4 +834,5 @@ class ActionController extends BaseController
|
|||||||
(string)($html ?? $this->view->render()))
|
(string)($html ?? $this->view->render()))
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
<?php
|
<?php
|
||||||
defined('TYPO3') || die();
|
defined('TYPO3_MODE') || die();
|
||||||
|
|
||||||
\TYPO3\CMS\Extbase\Utility\ExtensionUtility::registerPlugin(
|
\TYPO3\CMS\Extbase\Utility\ExtensionUtility::registerPlugin(
|
||||||
'TemplatesAide',
|
'TemplatesAide',
|
||||||
|
Loading…
x
Reference in New Issue
Block a user