Skip to content
Snippets Groups Projects

Resolve "Introduce PSR-4 autoloading"

Merged Stein Magne Bjorklund requested to merge 12-introduce-psr-4-autoloading into master
1 file
+ 2
1
Compare changes
  • Side-by-side
  • Inline
+ 2
1
@@ -156,8 +156,8 @@ class Importer
@@ -156,8 +156,8 @@ class Importer
private function createEndpoints($ep)
private function createEndpoints($ep)
{
{
require('common.inc.php');
$endpoints = "";
$endpoints = "";
 
try {
try {
foreach ($ep as $k => $v) {
foreach ($ep as $k => $v) {
if ($conf['endpoint'][$k] != $v) {
if ($conf['endpoint'][$k] != $v) {
@@ -169,6 +169,7 @@ class Importer
@@ -169,6 +169,7 @@ class Importer
echo 'Caught exception while importing endpoints: ', $e->getMessage(), "\n";
echo 'Caught exception while importing endpoints: ', $e->getMessage(), "\n";
exit(1);
exit(1);
}
}
 
return $endpoints;
return $endpoints;
}
}
Loading