|
Previous Page |
Solar_Dir |
Next Page |
fix()
static public
string
fix (
string $dir
)
"Fixes" a directory string for the operating system.
Parameters
- (string)
$dir: The directory string to 'fix'.
Returns
- (string) The "fixed" directory string.
Description
"Fixes" a directory string for the operating system.
Use slashes anywhere you need a directory separator. Then run the string through fixdir() and the slashes will be converted to the proper separator (for example '\' on Windows).
Always adds a final trailing separator.