diff --git a/classes/Importer.php b/classes/Importer.php index 7862bd07142cd258f68109932a0e239e2b512c61..e8b162ec019d78e6c9b359030083319578332d0d 100644 --- a/classes/Importer.php +++ b/classes/Importer.php @@ -166,6 +166,7 @@ final class Importer private function createEndpoints($ep) { $endpoints = ""; + $conf = $this->configuration->getConfigValue('conf', ''); try { foreach ($ep as $k => $v) { @@ -173,6 +174,7 @@ final class Importer $endpoints .= "\$conf[\"endpoint\"][\"$k\"] = \"$v\";\n"; } } + $endpoints .= "\n\n"; } catch (Exception $e) { echo 'Caught exception while importing endpoints: ', $e->getMessage(), "\n";