(no commit message) master
authorChristian Weiske <cweiske@cweiske.de>
Thu, 25 Sep 2025 14:39:10 +0000 (16:39 +0200)
committerChristian Weiske <cweiske@cweiske.de>
Thu, 25 Sep 2025 14:39:10 +0000 (16:39 +0200)
phork0.php [new file with mode: 0644]

diff --git a/phork0.php b/phork0.php
new file mode 100644 (file)
index 0000000..02124ef
--- /dev/null
@@ -0,0 +1,14 @@
+<?php\r
+use TYPO3\CMS\Core\Utility\GeneralUtility;\r
+use TYPO3\CMS\Frontend\ContentObject\RecordsContentObject;\r
+\r
+$conf = [\r
+    'tables'       => 'tt_content',\r
+    'source'       => $elementId,\r
+    'dontCheckPid' => 1,\r
+];\r
+$html = GeneralUtility::makeInstance(\r
+    RecordsContentObject::class, $GLOBALS['TSFE']->cObj\r
+)->render($conf);\r
+\r
+       \r