Snog
Well-known member
- Affected version
- 2.1
You must specify a path to a file (
If you just specify
I know there are ways around it when the data folder is local on the server, but when the abstracted path may be on a different server it becomes impossible to check if the path exists.
As a side note, there is also no isWritable function for an abstracted path.
data://afilename.ext
) when checking if the abstractedPathExists and you're unable to check if data://
exists.If you just specify
data://
the end result will always be false.I know there are ways around it when the data folder is local on the server, but when the abstracted path may be on a different server it becomes impossible to check if the path exists.
As a side note, there is also no isWritable function for an abstracted path.