未匹配到本域名(www.xxx.com)有效授权码,请到PbootCMS官网获取

    方法一:

    程序修改办法
    文件位置:/core/function/handle.php
    搜索:parse_info_tpl()函数
    将函数里面
    $tpl_content = str_replace('{info}', $string, $tpl_content);
    替换为:
    if (strpos($string, '未匹配到本域名') !== false) {    $tpl_content = str_replace('{info}', '您当前域名未授权,请联系开发者获取授权!', $tpl_content);
    } else {    $tpl_content = str_replace('{info}', $string, $tpl_content);
    }

    方法二:

    只需要在网站根目录下新建一个sn.html的文件,里面编写自己的提示信息,比如请联系某某,这时候再访问未授权的域名,系统会自动调用sn.html并显示其中的内容。