$value) { if(UC_APPID != $appid) { $_SCONFIG['uc_status'] = 1; } if($value['open']) { if(empty($_SGLOBAL['appmenu'])) { $_SGLOBAL['appmenu'] = $value; } else { $_SGLOBAL['appmenus'][] = $value; } } } } error:MySQL server has gone away
sql: SELECT * FROM `partner` WHERE `open` = 'Y' AND `isnongchang` = 'Y' AND `city_id` IS NULL AND ( display = 'Y') ORDER BY head DESC, id DESC