After User Login my site got Wrong User ID (Only get Super User ID).
My Code is :
$user_id = \JFactory::getUser()->id;
Update My site PHP Version. (Old Version 5.4 to New Version 5.5). In Cpanel Disable Directory Protection. Its Working Good
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.