zdcms不小心把网站域名改错了不能进后台了怎么还原?
1、打开文件cache/config/site.php,把里面的错误域名还原成你原来的。
return array ( 1 => array ( 'SITE_NAME' => '网站名称', 'SITE_DOMAIN' => 'www.test.com', 'SITE_DOMAINS' => '', 'SITE_LOGO' => 'http://www.test.com/static/assets/logo-web.png', 'SITE_MOBILE' => '', 'SITE_AUTO' => '', 'SITE_IS_MOBILE_HTML' => '', 'SITE_CLOSE' => '0', 'SITE_THEME' => 'default', 'SITE_TEMPLATE' => 'zdcms', 'SITE_REWRITE' => NULL, 'SITE_SEOJOIN' => '_', 'SITE_LANGUAGE' => 'zh-cn', 'SITE_TIMEZONE' => '8', 'SITE_TIME_FORMAT' => 'Y-m-d H:i:s', 'SITE_INDEX_HTML' => '0', ), );
2、然后登陆后台
3、进入后台,网站设置,变更域名,输入域名还原。如下图;