Convert given file name to use unix slashes (if it isn’t already)
Usage
$string = $files->unixFileName(string $file);
Arguments
Name | Type(s) | Description |
---|---|---|
file | string | File name to adjust (if it needs it) |
Return value
string
Adjusted file name
API reference based on ProcessWire core version 3.0.236