Changeset 1828
- Timestamp:
- 05/30/07 21:59:15 (2 years ago)
- Files:
-
- alternc/trunk/bureau/class/functions.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
alternc/trunk/bureau/class/functions.php
r1737 r1828 210 210 } 211 211 212 /** 213 * get the home of the user 214 * 215 * @args string $user the username, if null will use the global $mem. no 216 * security checks performed on path 217 * @returns string the actual absolute path 218 * @see $L_ALTERNC_LOC 219 */ 220 function getuserpath($user = null) { 221 global $L_ALTERNC_LOC; 222 if (is_null($user)) { 223 global $mem; 224 $user = $mem->user['login']; 225 } 226 return $L_ALTERNC_LOC . "/html/".substr($user,0,1)."/".$user; 227 } 212 228 213 229 function cbox($test) {
