直播导航
一个虎牙斗鱼链接的直播,开源 https://github.com/mantoufan/mtfLive
直接下载安装,然后设置伪静态,不然会打开失败
#ignored: "-" thing used or unknown variable in regex/rew
rewrite ^/(.*)$ /index.php?mtfq=$1;
最底部有个链接,导航应该保留,如果不想保留的
在文件tpl/c.tpl 查这个然后注释掉就没有了 cdn.dm126.com/share/mtfFrame.js
如果顶部想添加菜单,也是在 tpl/c.tpl 搜索 电视 然后添加
<li class="pure-menu-item"><a href="http://m.hao5.net/" class="pure-menu-link">电视</a></li>
如果这时候有报错Warning: array_multisort(): Array sizes are inconsistent in /www/wwwroot/ 788等,直接给这行注释
//array_multisort(array_column($data, 'n'),SORT_NUMERIC, SORT_DESC, $data);
共有 0 条评论