![]() |
Smarty $userinfo variable
So, I'm adding some custom user account fields and was wondering if someone could tell me what file is responsible for loading the user account data into the Smarty $userinfo variable.
Thanks! |
Re: Smarty $userinfo variable
If I recall correctly its include/register.php but the $userinfo variable isn't available globally.
|
Re: Smarty $userinfo variable
Well, I did some digging and just answered my own question so to whom it may concern:
PHP variable $userinfo is created and populated in include/func.user.php and is then passed to smarty on line 676 of cart.php: Code:
$smarty->assign("userinfo",$userinfo); |
All times are GMT -8. The time now is 08:38 PM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.