Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
project
provision
Commits
b8620fc5
Commit
b8620fc5
authored
Apr 22, 2009
by
anarcat
Committed by
anarcat
Apr 22, 2009
Browse files
oops, reversed the logic in the sites checking code
i'm rusty. See:
#441810
parent
1e6718ee
Changes
1
Hide whitespace changes
Inline
Side-by-side
platform/provision_drupal.drush.inc
View file @
b8620fc5
...
...
@@ -318,7 +318,7 @@ function provision_drupal_find_sites() {
if
(
$dir
=
opendir
(
"./sites"
))
{
while
(
FALSE
!==
(
$subdir
=
readdir
(
$dir
)))
{
// skip internal directory pointers
if
(
$subdir
=
=
'.'
||
$subdir
=
=
'..'
)
{
if
(
$subdir
!
=
'.'
&&
$subdir
!
=
'..'
)
{
$file
=
"./sites/
$subdir
/settings.php"
;
if
(
file_exists
(
"
$file
"
)
&&
(
$subdir
!=
'default'
)
&&
!
is_link
(
"./sites/
$subdir
"
))
{
$sites
[
$subdir
]
=
$file
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment