Skip to content

Commit 0c7e5ee

Browse files
authored
[BUGFIX] Make sure the file inclusion works correctly (#50)
Fixes: #42 Closes: #44
1 parent 76d3d5e commit 0c7e5ee

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Classes/Core/FrontendRenderingProvisioner.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,8 @@ public function provision(TypoScriptFrontendController $typoScriptFrontendContro
4444

4545
// Bypass any other page rendering, by including our own dummy rendering
4646
$typoScriptFrontendController->config['config']['pageGenScript'] = 'EXT:typoscript_rendering/Scripts/DummyRendering.php';
47+
// Make sure current working dir is in PATH_site, so that the DummyRendering file is resolved correctly
48+
chdir(PATH_site);
4749
}
4850

4951
/**

0 commit comments

Comments
 (0)