Format: $isRelative(path)[.dir|.file]
Return: The full path to specified directory|path or $false if it doesn't exist

If the .file prop is specified, then it should only check for direct and relative paths to a file
if the .dir prop is specified, then it should only check for direct and relative paths to a directory

It should try check to see if the path exists, and return the fullpath as such:
  • Is a direct path to a file
  • Is a direct path to a directory
  • Is a relative path to a file ($mircdirpath)
  • Is a relative path to a directory
  • If none match, $null should be returned.

Last edited by FroggieDaFrog; 18/03/11 10:07 PM.

I am SReject
My Stuff