Skip to content

Commit

Permalink
[TASK] Make realurl optional
Browse files Browse the repository at this point in the history
  • Loading branch information
Benjamin Kott committed Dec 11, 2014
1 parent 21735bd commit 6f92339
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
5 changes: 3 additions & 2 deletions ext_emconf.php
Original file line number Diff line number Diff line change
Expand Up @@ -30,12 +30,13 @@
'depends' => array(
'typo3' => '6.2.6-7.0.99',
'css_styled_content' => '6.2.0-7.0.99',
'realurl' => '1.12.8-1.12.99',
),
'conflicts' => array(
'fluidpages' => '*',
'dyncss' => '*',
),
'suggests' => array()
'suggests' => array(
'realurl' => '1.12.8-1.12.99',
)
),
);
4 changes: 3 additions & 1 deletion ext_localconf.php
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,9 @@
/***************
* Use RealUrl Config from Bootstrap Package
*/
if ($GLOBALS['TYPO3_CONF_VARS']['EXT']['extConf'][$_EXTKEY]['UseRealUrlConfig'] == 1) {
if (\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::isLoaded('realurl')
&& $GLOBALS['TYPO3_CONF_VARS']['EXT']['extConf'][$_EXTKEY]['UseRealUrlConfig'] == 1
) {
@include_once(\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extPath($_EXTKEY, 'Configuration/RealURL/Default.php'));
}

Expand Down

0 comments on commit 6f92339

Please sign in to comment.