Hallo liebe Comunity,
wie kann ich den Aufruf Shopware()->DocPath() . “files/documents/” . $getDocument[“hash”] . “.pdf”;
wie im https://issues.shopware.com/issues/SW-22315 beschrieben, auf kernel.root_dir ändern, damit auch der Composer die Dokumente unter files/documents findet?
Diie Variable Shopware()->Container()->getParameter(‘shopware.app.rootdir’).$getDocument[“hash”].".pdf"
verursacht bei mir folgenden Fehler
Could not load file (customer email invoice - mail attachment): /www/htdocs/xxxxx/shopware/1a61a818a3cf6d590fb1375d682b59c0.pdf in engine/Shopware/Plugins/Community/Frontend/myPlugin/Bootstrap.php on line 323
Ich fand leider nichts, was mir weiter hilft.
liebe Grüße
gwen