Skip to content

Commit 53f6910

Browse files
paulvandenburgwebflo
authored andcommitted
Prefer usage of && operator instead of "and" (#530)
1 parent bdaa8fd commit 53f6910

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: scripts/composer/ScriptHandler.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ public static function createRequiredFiles(Event $event) {
3636
}
3737

3838
// Prepare the settings file for installation
39-
if (!$fs->exists($drupalRoot . '/sites/default/settings.php') and $fs->exists($drupalRoot . '/sites/default/default.settings.php')) {
39+
if (!$fs->exists($drupalRoot . '/sites/default/settings.php') && $fs->exists($drupalRoot . '/sites/default/default.settings.php')) {
4040
$fs->copy($drupalRoot . '/sites/default/default.settings.php', $drupalRoot . '/sites/default/settings.php');
4141
require_once $drupalRoot . '/core/includes/bootstrap.inc';
4242
require_once $drupalRoot . '/core/includes/install.inc';

0 commit comments

Comments
 (0)