function imagepicker_get_userpath in Image Picker 7
Same name and namespace in other branches
- 6.2 imagepicker.module \imagepicker_get_userpath()
2 calls to imagepicker_get_userpath()
File
- ./
imagepicker.module, line 1013 - @author Bob Hutchinson http://drupal.org/user/52366 @copyright GNU GPL
Code
function imagepicker_get_userpath($userdir, $dirsep = '/') {
global $user;
$path = '';
$useruid = !is_array($userdir) ? $user->uid : $userdir['uid'];
$path .= $useruid . $dirsep;
return $path;
}