Skip to content

Commit

Permalink
What happened to sites/example.sites.php?
Browse files Browse the repository at this point in the history
  • Loading branch information
greg-1-anderson committed Nov 8, 2016
1 parent 56ad0ff commit b0e75b7
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/Unish/UnishTestCase.php
Original file line number Diff line number Diff line change
Expand Up @@ -299,7 +299,8 @@ function setUpDrupal($num_sites = 1, $install = FALSE, $version_string = UNISH_D
// Write an empty sites.php if we are on D7+. Needed for multi-site on D8 and
// used on D7 in \Unish\saCase::testBackendHonorsAliasOverride.
if ($major_version >= 7 && !file_exists($root . '/sites/sites.php')) {
copy($root . '/sites/example.sites.php', $root . '/sites/sites.php');
//copy($root . '/sites/example.sites.php', $root . '/sites/sites.php');
file_put_contents($root . '/sites/sites.php', "<?php\n");
}

// Stash details about each site.
Expand Down

0 comments on commit b0e75b7

Please sign in to comment.