续费更新已消费记录
更改
Model\indexs.php 第175行
改为
$sql = "UPDATE amh_member set member_money = member_money - '$annualprice', member_cost = member_cost + '$annualprice' WHERE member_id = '$member_id...
mdoctor过滤敏感词防止恶意提权(重要)
1、Controller\reg.php 第42行附近
将
if($member_id)
改为
if($member_id || in_array($member,array('root','mysql','admin','test')))
2、Controller\host.php 第31行附近
将
elseif(...
标签: mdoctor 虚拟主机销售系统 mysql php mdoctor安全
解决php的date(): It is not safe to rely on the system's timezone settings.
date(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those...