From fcfc52f4891afa163e1802016296eb242bf97771 Mon Sep 17 00:00:00 2001 From: Yagami <976204163@qq.com> Date: Fri, 22 Jan 2021 09:05:04 +0800 Subject: [PATCH] * Fix minifyfront. --- tools/minifyfront.php | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/tools/minifyfront.php b/tools/minifyfront.php index c97d720ea7..532e24e8d0 100755 --- a/tools/minifyfront.php +++ b/tools/minifyfront.php @@ -35,12 +35,19 @@ $themeRoot = $baseDir . '/www/theme/'; /* Iinclude config and lang file to get langs and themes. */ $config = new stdclass(); +$config->programLink = '-'; +$config->productLink = '-'; +$config->projectLink = '-'; include $baseDir . '/config/config.php'; $lang = new stdclass(); -$lang->productCommon = ''; -$lang->projectCommon = ''; -$lang->storyCommon = ''; +$lang->productCommon = ''; +$lang->projectCommon = ''; +$lang->storyCommon = ''; +$lang->SRCommon = ''; +$lang->URCommon = ''; +$lang->productCommon = ''; +$lang->executionCommon = ''; include $baseDir . '/module/common/lang/zh-cn.php'; $langs = array_keys($config->langs); $themes = array_keys($lang->themes);