Skip to content

Commit cb6ab5b

Browse files
committed
[TASK] Cleanup file structure
1 parent 37b29f3 commit cb6ab5b

File tree

6 files changed

+27
-17
lines changed

6 files changed

+27
-17
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
<?php
2+
3+
/**
4+
* IMPORTANT: This file has to be moved to typo3conf/
5+
*/
6+
7+
if (!defined('TYPO3_MODE')) {
8+
die ('Access denied.');
9+
}
10+
11+
// Change allow/deny behaviour
12+
$GLOBALS['TYPO3_CONF_VARS']['BE']['explicitADmode'] = 'explicitAllow';
13+
14+
// Permissions
15+
$GLOBALS['TYPO3_CONF_VARS']['BE']['fileCreateMask'] = '0644';
16+
$GLOBALS['TYPO3_CONF_VARS']['BE']['folderCreateMask'] = '0755';
17+
$GLOBALS['TYPO3_CONF_VARS']['BE']['maxFileSize'] = '30480';
18+
19+
// Slide for the keywords + description to create better meta-tags
20+
$GLOBALS['TYPO3_CONF_VARS']['FE']['addRootLineFields'] .= ',keywords,description';
21+
22+
// Additional settings for IM/GM
23+
$GLOBALS['TYPO3_CONF_VARS']['gdlib_png'] = '1';
24+
$GLOBALS['TYPO3_CONF_VARS']['GFX']['png_truecolor'] = '1';
25+
26+
?>

ext_localconf.php

+1-17
Original file line numberDiff line numberDiff line change
@@ -4,22 +4,6 @@
44
die ('Access denied.');
55
}
66

7-
// Change allow/deny behaviour
8-
$TYPO3_CONF_VARS['BE']['explicitADmode'] = 'explicitAllow';
9-
10-
// Permissions
11-
$TYPO3_CONF_VARS['BE']['fileCreateMask'] = '0644';
12-
$TYPO3_CONF_VARS['BE']['folderCreateMask'] = '0755';
13-
$TYPO3_CONF_VARS['BE']['maxFileSize'] = '30480';
14-
15-
// Slide for the keywords + description to create better meta-tags
16-
$TYPO3_CONF_VARS['FE']['addRootLineFields'] .= ',keywords,description';
17-
18-
// Additional settings for IM/GM
19-
$TYPO3_CONF_VARS['gdlib_png'] = '1';
20-
$TYPO3_CONF_VARS['GFX']['png_truecolor'] = '1';
21-
22-
237
$settings = unserialize($GLOBALS['TYPO3_CONF_VARS']['EXT']['extConf'][$_EXTKEY]);
248
if (!empty($settings['setPageTSconfig'])) {
259
t3lib_extMgm::addPageTSConfig('<INCLUDE_TYPOSCRIPT: source="FILE:EXT:' . $_EXTKEY . '/Resources/Private/TsConfig/Page/main.ts">');
@@ -29,7 +13,7 @@
2913
t3lib_extMgm::addUserTSConfig('<INCLUDE_TYPOSCRIPT: source="FILE:EXT:' . $_EXTKEY . '/Resources/Private/TsConfig/User/main.ts">');
3014
}
3115

32-
// Modify flexform values
16+
// Modify flexform values
3317
$GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['t3lib/class.t3lib_befunc.php']['getFlexFormDSClass'][$_EXTKEY] =
3418
'EXT:' . $_EXTKEY . '/Classes/Hooks/T3libBefunc.php:Tx_Modernpackage_Hooks_T3libBefunc';
3519

0 commit comments

Comments
 (0)