Skip to content

Commit

Permalink
[BUGFIX] Fix configuration for forceAbsoluteUrl property (#1239)
Browse files Browse the repository at this point in the history
Co-authored-by: Sebastian Meyer <[email protected]>
  • Loading branch information
beatrycze-volk and sebastian-meyer committed May 31, 2024
1 parent 4eaccc3 commit 1837c57
Show file tree
Hide file tree
Showing 3 changed files with 158 additions and 155 deletions.
2 changes: 1 addition & 1 deletion Classes/Controller/AbstractController.php
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ protected function configureProxyUrl(string &$url): void
{
$this->uriBuilder->reset()
->setTargetPageUid($this->pageUid)
->setCreateAbsoluteUri(!empty($this->settings['general']['forceAbsoluteUrl']))
->setCreateAbsoluteUri(!empty($this->extConf['general']['forceAbsoluteUrl']))
->setArguments(
[
'eID' => 'tx_dlf_pageview_proxy',
Expand Down
2 changes: 1 addition & 1 deletion Classes/Controller/PageViewController.php
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ public function mainAction(): void
// Get the controls for the map.
$this->controls = explode(',', $this->settings['features']);

$this->view->assign('forceAbsoluteUrl', $this->settings['general']['forceAbsoluteUrl']);
$this->view->assign('forceAbsoluteUrl', $this->extConf['general']['forceAbsoluteUrl']);

$this->addViewerJS();

Expand Down
Loading

0 comments on commit 1837c57

Please sign in to comment.