get getRemoteExportFolder
Dieser Commit ist enthalten in:
Ursprung
8ea3bfc8f7
Commit
63b26c1231
@ -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
|
||||
|
Laden…
x
In neuem Issue referenzieren
Einen Benutzer sperren