Skip to content

Commit

Permalink
If we cannot find Horde_Core's data directory, there's something fishy.
Browse files Browse the repository at this point in the history
  • Loading branch information
yunosh committed Jan 21, 2015
1 parent 50b9098 commit 5c4d31b
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions horde/admin/config/index.php
Expand Up @@ -68,6 +68,11 @@ function _uploadFTP($params)
$vars = $injector->getInstance('Horde_Variables');
$a = $registry->listAllApps();

/* Check for suspicious missing of migration data. */
if (!in_array('Horde_Core', $migration->apps)) {
$notification->push(_("Database migration files not found. Please check PEAR's data_dir configuration setting."), 'horde.error');
}

/* Check for versions if requested. */
$versions = array();
if ($vars->check_versions) {
Expand Down

0 comments on commit 5c4d31b

Please sign in to comment.