diff --git a/lib/Updater.php b/lib/Updater.php index 96322949..5bd6eefc 100644 --- a/lib/Updater.php +++ b/lib/Updater.php @@ -60,9 +60,10 @@ public function __construct( } } + //check for update or data directories $dataDir = $this->getUpdateDirectoryLocation(); if ($dataDir === '' || $dataDir === '0') { - throw new \Exception('Could not read data directory from config.php.'); + throw new \Exception('Could not read update or data directory from config.php.'); } $versionFileName = $this->nextcloudDir . '/version.php';