get getRemoteExportFolder

Dieser Commit ist enthalten in:
Markus Gärtner 2024-12-17 10:42:44 +01:00
Ursprung 8ea3bfc8f7
Commit 63b26c1231

Datei anzeigen

@ -59,7 +59,10 @@ class connect extends BaseController
case 'getCountry':
return $this->getCountry($Parameter);
break;
}
case 'getRemoteExportFolder':
return $this->getRemoteExportFolder($Parameter);
break;
}
}
/**
@ -183,6 +186,19 @@ MSQL;
return $Db->getAll($sQuery,[$OXID]);
}
public function getRemoteExportFolder(array $aParameter)
{
$myConfig = Registry::getConfig();
$sExportFolder = 'export/xml';
if(trim($myConfig->getConfigParam("d3xrechnung_EXPORT_FOLDER")) != '')
{
$sExportFolder = $myConfig->getConfigParam("d3xrechnung_EXPORT_FOLDER");
}
return array('EXPORT_FOLDER' => $this->getConfig()->getConfigParam('sShopDir').$sExportFolder."/");
}
public function checkParamter()
{
// todo check accesstoken