Initial commit

This commit is contained in:
2018-04-02 08:07:38 +02:00
commit 7330c1ed3e
2054 changed files with 405203 additions and 0 deletions

View File

@@ -0,0 +1,24 @@
<?php
if (!defined('TYPO3_MODE')) {
die ('Access denied.');
}
// post processing hook to clear any existing cache files if the button in
// the backend is clicked (contains an age check)
$GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['t3lib/class.t3lib_tcemain.php']['clearCachePostProc'][] =
'EXT:scriptmerger/Classes/user_ScriptmergerCacheHook.php:SGalinski\Scriptmerger\user_ScriptmergerCacheHook->clearCachePostProc';
// register the minify, compress and merge processes
if (TYPO3_MODE == 'FE') {
$TYPO3_CONF_VARS['SC_OPTIONS']['tslib/class.tslib_fe.php']['contentPostProc-output'][] =
'EXT:scriptmerger/Classes/user_ScriptmergerOutputHook.php:SGalinski\Scriptmerger\user_ScriptmergerOutputHook->contentPostProcOutput';
$TYPO3_CONF_VARS['SC_OPTIONS']['tslib/class.tslib_fe.php']['contentPostProc-all'][] =
'EXT:scriptmerger/Classes/user_ScriptmergerOutputHook.php:SGalinski\Scriptmerger\user_ScriptmergerOutputHook->contentPostProcAll';
}
// needs to be disabled for the frontend, otherwise the default exclude rule prevents any script files from merging
$TYPO3_CONF_VARS['FE']['versionNumberInFilename'] = '';
$TYPO3_CONF_VARS['FE']['compressionLevel'] = '0';
?>