Skip to content

Commit 0f5eb98

Browse files
authored
Merge pull request #10 from ohader/main
2 parents 099492f + 9f110e6 commit 0f5eb98

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

README.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,9 @@ The following TYPO3 Console commands are executed:
88
* `install:generatepackagestates` (only TYPO3 Console lower than 7.0)
99
* `install:fixfolderstructure`
1010

11-
And in the case TYPO3 appears to be setup properly (`LocalConfiguration.php`
12-
file is not missing) and running composer in dev mode (without `--no-dev`) these
13-
commands are also executed:
11+
And in the case TYPO3 appears to be setup properly (`typo3conf/LocalConfiguration.php` or
12+
`config/system/settings.php` file is not missing) and running composer in dev mode
13+
(without `--no-dev`) these commands are also executed:
1414

1515
* `extension:setup` (or `extension:setupactive` in TYPO3 Console versions lower than 7.0)
1616

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)