Skip to content

Commit 8e1b4e2

Browse files
committed
[TASK] Respect TYPO3 v12 file config/system/settings.php
In TYPO3 v12 the well known `typo3conf/LocalConfiguration.php` is located at `config/system/settings.php`. This change brings back the automatic invocation of the `extension:setup` command.
1 parent 099492f commit 8e1b4e2

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/Composer/InstallerScripts.php

+3-1
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,9 @@ public static function register(Event $event, ScriptDispatcher $scriptDispatcher
3535
new ConsoleCommand('install:fixfolderstructure', [], '', null, false),
3636
20
3737
);
38-
$typo3IsSetUp = getenv('TYPO3_IS_SET_UP') || file_exists(getenv('TYPO3_PATH_ROOT') . '/typo3conf/LocalConfiguration.php');
38+
$typo3IsSetUp = getenv('TYPO3_IS_SET_UP')
39+
|| file_exists(getenv('TYPO3_PATH_ROOT') . '/typo3conf/LocalConfiguration.php')
40+
|| file_exists(getenv('TYPO3_PATH_APP') . '/config/system/settings.php');
3941
if ($typo3IsSetUp && $event->isDevMode()) {
4042
$scriptDispatcher->addInstallerScript(
4143
new ConsoleCommand('extension:setup'),

0 commit comments

Comments
 (0)