Skip to content

Commit

Permalink
Temporarily check if we are running out of a split repo or monolithic.
Browse files Browse the repository at this point in the history
  • Loading branch information
mrubinsk committed May 10, 2017
1 parent b03aeeb commit 9dcb9d6
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions framework/Core/lib/Horde/Core/Db/Migration.php
Expand Up @@ -71,6 +71,10 @@ public function __construct($basedir = null, $pearconf = null)
// Loop through local framework checkout.
if ($basedir) {
// Support both the split repo and monolithic for now.
// @todo - remove when we perform official split.
if (file_exists($basedir . '/base')) {
$basedir .= $basedir . '/..';
}
if (file_exists($basedir . '/applications') && !file_exists($basedir . '/.git')) {
$path = $basedir . '/*/migration';
} else {
Expand Down

0 comments on commit 9dcb9d6

Please sign in to comment.