当前位置: 首页 > 工具软件 > YFCMF > 使用案例 >

YFCMF 问题

柳俊健
2023-12-01

1.菜单不见了,yf.php  (main 改为0 )

function tagMenu 

$parseStr .='echo get_menu("main","'.$top_ul_id.'","'.$childtpl.'","'.$parenttpl.'","'.$child_ul_class.'","'.$child_li_class.'","'.$top_ul_class.'","'.$showlevel.'","'.$firstchild_dropdown_class.'");';

改为

$parseStr .='echo get_menu(0,"'.$top_ul_id.'","'.$childtpl.'","'.$parenttpl.'","'.$child_ul_class.'","'.$child_li_class.'","'.$top_ul_class.'","'.$showlevel.'","'.$firstchild_dropdown_class.'");';

 

2.PDO::MYSQL_ATTR_USE_BUFFERED_QUERY 错误。修改配置文件app/database.php,正确代码如下

'params'         => [
        PDO::ATTR_CASE              => PDO::CASE_LOWER,
        PDO::ATTR_EMULATE_PREPARES  => true,
    ],

 

 类似资料: