Skip to content

Commit

Permalink
[BUGFIX] Make sure the file inclusion works correctly (#50)
Browse files Browse the repository at this point in the history
Fixes: #42
Closes: #44
  • Loading branch information
helhum authored Aug 12, 2018
1 parent 76d3d5e commit 0c7e5ee
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Classes/Core/FrontendRenderingProvisioner.php
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,8 @@ public function provision(TypoScriptFrontendController $typoScriptFrontendContro

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

/**
Expand Down

0 comments on commit 0c7e5ee

Please sign in to comment.