網站是使用DTB2B ,可是後臺一直提示:license.txt不可修改或刪除,請檢查php
網上找的教程都是二進制上傳license.txt,若MD5 值同樣,那確定能修復好,有沒更好的辦法呢?ide
最模板提供以下cms教程:post
終極辦法是找到admin/login.inc.php網站
第7行代碼 前加個 「//」spa
如教程
defined('IN_DESTOON') or exit('Access Denied'); ip
// DT_LICENSE == strtoupper(md5(file_get(DT_ROOT.'/license.txt'))) or msg('license.txt不可修改或刪除,請檢查'); md5
if(!$forward) $forward = '?'; get
if($_destoon_admin && $_userid && $_destoon_admin == $_userid) dheader($forward); it
if($DT['admin_ip']
畢竟是開源程序,不推薦修改掉!
www.bzff.cn
www.i0794.cn