@@ -1,23 +1,23 @@ discard block |
||
| 1 | 1 | <?php |
| 2 | 2 | if (!defined('TYPO3_MODE')) { |
| 3 | - die ('Access denied.'); |
|
| 3 | + die ('Access denied.'); |
|
| 4 | 4 | } |
| 5 | 5 | |
| 6 | 6 | $configuration = unserialize($GLOBALS['TYPO3_CONF_VARS']['EXT']['extConf']['vidi']); |
| 7 | 7 | |
| 8 | 8 | if (false === isset($configuration['autoload_typoscript']) || true === (bool)$configuration['autoload_typoscript']) { |
| 9 | 9 | |
| 10 | - \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addTypoScript( |
|
| 11 | - 'vidi', |
|
| 12 | - 'constants', |
|
| 13 | - '<INCLUDE_TYPOSCRIPT: source="FILE:EXT:vidi/Configuration/TypoScript/constants.txt">' |
|
| 14 | - ); |
|
| 15 | - |
|
| 16 | - \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addTypoScript( |
|
| 17 | - 'vidi', |
|
| 18 | - 'setup', |
|
| 19 | - '<INCLUDE_TYPOSCRIPT: source="FILE:EXT:vidi/Configuration/TypoScript/setup.txt">' |
|
| 20 | - ); |
|
| 10 | + \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addTypoScript( |
|
| 11 | + 'vidi', |
|
| 12 | + 'constants', |
|
| 13 | + '<INCLUDE_TYPOSCRIPT: source="FILE:EXT:vidi/Configuration/TypoScript/constants.txt">' |
|
| 14 | + ); |
|
| 15 | + |
|
| 16 | + \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addTypoScript( |
|
| 17 | + 'vidi', |
|
| 18 | + 'setup', |
|
| 19 | + '<INCLUDE_TYPOSCRIPT: source="FILE:EXT:vidi/Configuration/TypoScript/setup.txt">' |
|
| 20 | + ); |
|
| 21 | 21 | } |
| 22 | 22 | |
| 23 | 23 | // Configure commands that can be run from the cli_dispatch.phpsh script. |
@@ -30,9 +30,9 @@ discard block |
||
| 30 | 30 | $GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['GLOBAL']['extTablesInclusion-PostProcessing'][] = 'Fab\Vidi\Configuration\TcaGridAspect'; |
| 31 | 31 | |
| 32 | 32 | $TYPO3_CONF_VARS['SYS']['caching']['cacheConfigurations']['vidi'] = array( |
| 33 | - 'frontend' => 'TYPO3\CMS\Core\Cache\Frontend\VariableFrontend', |
|
| 34 | - 'options' => array( |
|
| 35 | - 'defaultLifetime' => 2592000, // => 1 month |
|
| 36 | - ), |
|
| 37 | - 'groups' => array('all', 'vidi') |
|
| 33 | + 'frontend' => 'TYPO3\CMS\Core\Cache\Frontend\VariableFrontend', |
|
| 34 | + 'options' => array( |
|
| 35 | + 'defaultLifetime' => 2592000, // => 1 month |
|
| 36 | + ), |
|
| 37 | + 'groups' => array('all', 'vidi') |
|
| 38 | 38 | ); |