dfridrich / CzechDataBox

Knihovna pro komunikaci s datovou schránkou v PHP
MIT License
24 stars 10 forks source link

Custom databox directory ignored #1

Closed drudv closed 6 years ago

drudv commented 6 years ago

Having

$dataBox = new DataBox('/my/custom/data-box');

files are being saved to the root and the provided custom directory path is ignored. Looks like it is not even stored in directory property of DataBox here:

https://github.com/dfridrich/CzechDataBox/blob/05e03b3d27b99b0aef294462497bf9fcbff968f9/src/DataBox.php#L68

dfridrich commented 6 years ago

Hi, can you provide fix?

drudv commented 6 years ago

I've just sent a PR #2 with the simple fix, that resolves my problem. Please take a look.