Skip to content
Snippets Groups Projects
Commit 9bcc63be authored by Stein Magne Bjorklund's avatar Stein Magne Bjorklund
Browse files

Importer no longer need to manually load application settings

First thing application do is loading the settings making sure
that it is available.
parent 8b5af581
No related branches found
No related tags found
No related merge requests found
This commit is part of merge request !16. Comments created here will be created in the context of that merge request.
......@@ -156,8 +156,8 @@ class Importer
private function createEndpoints($ep)
{
require('common.inc.php');
$endpoints = "";
try {
foreach ($ep as $k => $v) {
if ($conf['endpoint'][$k] != $v) {
......@@ -169,6 +169,7 @@ class Importer
echo 'Caught exception while importing endpoints: ', $e->getMessage(), "\n";
exit(1);
}
return $endpoints;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment