我有一个模板工作正常,但菜单没有显示 我格式化了css和js文件。所以,看看你是否能找到任何错误,但一切似乎都很好。
任何想法为什么它不起作用?
答案 0 :(得分:0)
$json = array ( 'success' => true, 'auto_list_rooms' => false, 'auto_subscribe' => false, 'bosh_service_url' => 'http://host:5280/http-bind/', 'hide_muc_server' => true, 'allow_muc' => true, 'prebind' => true, 'show_controlbox_by_default' => true, 'xhr_user_search' => false, 'jid' => 'user@host', 'sid' => '', 'rid' => '', 'fullname' => 'room', 'show_call_button' => false, 'allow_contact_requests' => false, 'muc_domain' => 'host', 'show_only_online_users' => true, 'refresh_page' => false, ); echo header('Content-type:application/json;charset=utf-8'); echo json_encode($json);