解決DestoonB2B後臺登錄出現:license.txt不可修改或刪除(轉)

網站是使用DTB2B ,可是後臺一直提示:license.txt不可修改或刪除,請檢查php

網上找的教程都是二進制上傳license.txt,若MD5 值同樣,那確定能修復好,有沒更好的辦法呢?ide

最模板提供以下cms教程:post


終極辦法是找到admin/login.inc.php網站

第7行代碼 前加個 「//」spa

教程


  1. defined('IN_DESTOON') or exit('Access Denied'); ip

  2. // DT_LICENSE == strtoupper(md5(file_get(DT_ROOT.'/license.txt'))) or msg('license.txt不可修改或刪除,請檢查'); md5

  3. if(!$forward) $forward = '?'; get

  4. if($_destoon_admin && $_userid && $_destoon_admin == $_userid) dheader($forward); it

  5. if($DT['admin_ip']


畢竟是開源程序,不推薦修改掉!

www.bzff.cn

www.i0794.cn

相關文章
相關標籤/搜索