Closed noogen closed 6 years ago
Hi @noogen
I've just pushed a potential fix. Instead of having the slashes hard coded - I've added php's DIRECTORY_SEPARATOR to determine the correct slashes.
It is still working on Windows - but please shout if it's not working on your Mac.
Please also let me know if you have any questions / ideas. Thank you.
Sorry for the delay. Just tested and works on my Mac now. Thanks.
This is possibly an issue on linux too where path uses forward slash (/). I add a var_dump and this is what I get:
This happen on every seeders file that process CSVs. To temporarily resolve this issue, I updated this file: https://github.com/bpocallaghan/titan/blob/master/src/Helpers/helpers.php#L118
Like so:
I leave it to you to determine the best way to resolve this. Thanks.