[英]php json data to menu not working
我有一個模板工作正常,但菜單未顯示。
我格式化了css和js文件。 因此,看看是否可以找到任何錯誤,但一切似乎都很好。
任何想法為什么它不起作用?
$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);
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.