fixing a nasty bug when ALTERNC_HTML finish with a / ...
This commit is contained in:
parent
364a97265a
commit
e8106707d8
|
@ -227,7 +227,7 @@ function getuserpath($user = null) {
|
|||
global $mem;
|
||||
$user = $mem->user['login'];
|
||||
}
|
||||
return ALTERNC_HTML."/".substr($user,0,1)."/".$user;
|
||||
return rtrim(ALTERNC_HTML,"/")."/".substr($user,0,1)."/".$user;
|
||||
}
|
||||
|
||||
/* ECHOes checked="checked" only if the parameter is true
|
||||
|
|
Loading…
Reference in New Issue