Project

General

Profile

Actions

Task #98319

closed

Move configuration files outside of document root when running in composer mode

Added by Benni Mack over 1 year ago. Updated over 1 year ago.

Status:
Closed
Priority:
Should have
Assignee:
Category:
System/Bootstrap/Configuration
Target version:
Start date:
2022-09-09
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
12
PHP Version:
Tags:
Complexity:
Sprint Focus:

Description

TYPO3 can move "LocalConfiguration" and "AdditionalConfiguration" files from public/typo3conf to config/ when composer is configured properly.

This way (together with typo3/cms-installers) TYPO3 would not even need to create public/typo3conf anymore, making it even more secure.

My proposal for new file names:
  • config/system/main.php (previously known as public/typo3conf/LocalConfiguration.php)
  • config/system/additional.php (previously known as public/typo3conf/AdditionalConfiguration.php)

This can all be easily implemented in ConfigurationManager where the paths are located.


Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Task #92803: Intransparent configuration path (e.g. for LocalConfiguration.php)Closed2020-11-09

Actions
Actions

Also available in: Atom PDF