Skip to content
Snippets Groups Projects
Commit d266155e 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 fb4d8a8f
No related branches found
No related tags found
1 merge request!16Resolve "Introduce PSR-4 autoloading"
......@@ -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