1

PHP Catchable 致命错误:第 23 行 /home//public_html/modules/mod_yoo_login/helper.php 中的类 stdClass 的对象无法转换为字符串

    if($itemid =  $params->get($type))
    {

        $menu =& JSite::getMenu();
        $item = $menu->getItem($itemid);echo "<br>";
        $url = JRoute::_($item->link.'&Itemid='.$itemid, false);
    }
    else
    {
        $url = JURI::base(true);
    }

    return base64_encode($url);
}

function getType()
{
    $user = & JFactory::getUser();
    return (!$user->get('guest')) ? 'logout' : 'login';
}

}

4

0 回答 0