Skip to content

Instantly share code, notes, and snippets.

@yuktse
Created March 4, 2014 03:21
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save yuktse/9339718 to your computer and use it in GitHub Desktop.
Save yuktse/9339718 to your computer and use it in GitHub Desktop.
join path function
functin joinPath($a, $b){
return rtrim($a, '/\ ') . DIRECTORY_SEPARATOR . ltrim($b, '/\ ');
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment