Commit a7760fac authored by Thomas Löffler's avatar Thomas Löffler
Browse files

Merge branch '89-realurl-configuration' into 'develop'

Realurl configuration

Closes #89

See merge request !95
parents 37cd0f87 6a7fc354
Pipeline #1896 passed with stages
in 2 minutes and 24 seconds
......@@ -22,6 +22,7 @@ return [
'EXT' => [
'extConf' => [
'ig_ldap_sso_auth' => 'a:18:{s:18:"checkConfiguration";s:1:"0";s:21:"throwExceptionAtLogin";s:1:"1";s:22:"forceLowerCaseUsername";s:1:"1";s:26:"enableBELDAPAuthentication";s:1:"0";s:17:"TYPO3BEGroupExist";s:1:"0";s:16:"TYPO3BEUserExist";s:1:"0";s:10:"BEfailsafe";s:1:"0";s:27:"TYPO3BEGroupsNotSynchronize";s:1:"0";s:12:"keepBEGroups";s:1:"0";s:11:"enableBESSO";s:1:"0";s:26:"enableFELDAPAuthentication";s:1:"1";s:31:"TYPO3FEDeleteUserIfNoLDAPGroups";s:1:"0";s:32:"TYPO3FEDeleteUserIfNoTYPO3Groups";s:1:"0";s:17:"TYPO3FEGroupExist";s:1:"0";s:16:"TYPO3FEUserExist";s:1:"0";s:27:"TYPO3FEGroupsNotSynchronize";s:1:"1";s:12:"keepFEGroups";s:1:"1";s:11:"enableFESSO";s:1:"0";}',
'realurl' => 'a:6:{s:10:"configFile";s:34:"typo3conf/RealurlConfiguration.php";s:14:"enableAutoConf";s:1:"1";s:14:"autoConfFormat";s:1:"0";s:17:"segTitleFieldList";s:0:"";s:12:"enableDevLog";s:1:"0";s:10:"moduleIcon";s:1:"0";}',
'rsaauth' => 'a:1:{s:18:"temporaryDirectory";s:0:"";}',
'saltedpasswords' => 'a:2:{s:3:"BE.";a:4:{s:21:"saltedPWHashingMethod";s:41:"TYPO3\\CMS\\Saltedpasswords\\Salt\\PhpassSalt";s:11:"forceSalted";i:0;s:15:"onlyAuthService";i:0;s:12:"updatePasswd";i:1;}s:3:"FE.";a:5:{s:7:"enabled";i:1;s:21:"saltedPWHashingMethod";s:41:"TYPO3\\CMS\\Saltedpasswords\\Salt\\PhpassSalt";s:11:"forceSalted";i:0;s:15:"onlyAuthService";i:0;s:12:"updatePasswd";i:1;}}',
'solr' => 'a:0:{}',
......
<?php
$GLOBALS['TYPO3_CONF_VARS']['FE']['addRootLineFields'] .= ',tx_realurl_pathsegment';
$GLOBALS['TYPO3_CONF_VARS']['EXTCONF']['realurl']['_DEFAULT'] = [
'init' => [
'appendMissingSlash' => 'ifNotFile,redirect[301]',
'postVarSet_failureMode' => '',
],
'fileName' => [
'acceptHTMLsuffix' => false,
'defaultToHTMLsuffixOnPrev' => false,
'index' => [
],
],
'pagePath' => [
'expireDays' => 2,
'languageExceptionUids' => '',
'languageGetVar' => 'L',
'rootpage_id' => 1,
'spaceCharacter' => '-',
],
'preVars' => [
[
'GETvar' => 'L',
'valueMap' => [
'' => 0,
],
'noMatch' => 'bypass',
],
],
'fixedPostVars' => [
'extension' => [
[
'GETvar' => 'tx_terfe2_pi1[controller]',
'valueMap' => [
'Extension' => ''
],
'noMatch' => 'bypass'
],
[
'GETvar' => 'tx_terfe2_pi1[action]',
'valueMap' => [
'detail' => '',
'download' => 'download'
],
'noMatch' => 'bypass'
],
[
'GETvar' => 'tx_terfe2_pi1[extension]',
'lookUpTable' => [
'table' => 'tx_terfe2_domain_model_extension',
'id_field' => 'uid',
'alias_field' => 'ext_key',
'addWhereClause' => ' AND deleted=0 AND hidden=0',
'useUniqueCache' => 1,
'useUniqueCache_conf' => [
'strtolower' => 1,
'spaceCharacter' => '-',
],
'enable404forInvalidAlias' => 1,
'autoUpdate' => 1,
'expireDays' => 180,
],
],
[
'GETvar' => 'tx_terfe2_pi1[versionString]',
],
[
'GETvar' => 'tx_terfe2_pi1[format]',
],
],
3 => 'extension'
],
];
config {
absRefPrefix = /
tx_realurl_enable = 1
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment