diff --git a/.env b/.env index 9aada85..a531507 100644 --- a/.env +++ b/.env @@ -50,6 +50,8 @@ APP_TRAVEL_INFO_BASE_URL=https://www.ep-reisen.de/reiseinformationen/ API_KEYS= +XML_EXPORT_PATH="%kernel.project_dir%/var/xmlexport" + SFTP_XML_EXPORT_HOST= SFTP_XML_EXPORT_PORT= SFTP_XML_EXPORT_USER= diff --git a/config/packages/flysystem.yaml b/config/packages/flysystem.yaml index c4ed14c..3f48e3d 100644 --- a/config/packages/flysystem.yaml +++ b/config/packages/flysystem.yaml @@ -1,13 +1,9 @@ flysystem: storages: - default.storage: - adapter: 'local' - options: - directory: '%kernel.project_dir%/var/storage/default' xml_export.storage: adapter: 'local' options: - directory: '%kernel.project_dir%/var/xmlexport' + directory: '%env(XML_EXPORT_PATH)%' xml_dump.storage: adapter: 'local' options: