includes\languages\english\模板\meta_tags.php 首先,将meta_tags.php中常量HOME_PAGE_META_DESCRIPTION、HOME_PAGE_META_KEYWORDS、HOME_PAGE_TITLE 的值分别改为(红字部分) define('HOME_PAGE_META_DESCRIPTION', HOME_META_DESCRIPTION); define('HOME_PAGE_META_KEYWORDS', HOME_META_KEYWORDS); define('HOME_PAGE_TITLE', HOME_TITLE); 然后,在数据库插入下面代码 INSERT INTO configuration VALUES (NULL, 'Home Title', 'HOME_TITLE', 'Home Title 后台-基本设置里面修改', '', '1', '1', NULL, '0001-01-01 00:00:00', NULL, NULL); INSERT INTO configuration VALUES (NULL, 'Home Keywords', 'HOME_META_KEYWORDS', 'Home Keywords 后台-基本设置里面修改', '', '1', '1', NULL, '0001-01-01 00:00:00', NULL, NULL); INSERT INTO configuration VALUES (NULL, 'Home Description', 'HOME_META_DESCRIPTION', 'Home Description 后台-基本设置里面修改', '', '1', '1', NULL, '0001-01-01 00:00:00', NULL, NULL); 打完收工! (责任编辑:最模板) |