do add analysis yas.js version
Showing
5 changed files
with
12 additions
and
0 deletions
@@ -118,6 +118,10 @@ class TemplateLayout implements View_Interface | @@ -118,6 +118,10 @@ class TemplateLayout implements View_Interface | ||
118 | } | 118 | } |
119 | // 应用版本号 | 119 | // 应用版本号 |
120 | $tpl_vars['version'] = $config->version; | 120 | $tpl_vars['version'] = $config->version; |
121 | + // JS统计代码的版本号 | ||
122 | + if (isset($config->yas->version)) { | ||
123 | + $tpl_vars['yas_version'] = $config->yas->version; | ||
124 | + } | ||
121 | 125 | ||
122 | // SEO相关的标题、关键词、描述内容信息 | 126 | // SEO相关的标题、关键词、描述内容信息 |
123 | if (!empty($tpl_vars['title_more'])) { | 127 | if (!empty($tpl_vars['title_more'])) { |
@@ -51,6 +51,8 @@ application.assets.path = ROOT_PATH "/assets" | @@ -51,6 +51,8 @@ application.assets.path = ROOT_PATH "/assets" | ||
51 | 51 | ||
52 | ; 应用的版本号 | 52 | ; 应用的版本号 |
53 | application.version = "1.2.0" | 53 | application.version = "1.2.0" |
54 | +; JS统计代码的版本号 | ||
55 | +application.yas.version = "1.0.13.2" | ||
54 | 56 | ||
55 | ; 网站SEO信息 | 57 | ; 网站SEO信息 |
56 | application.seo.title = "Yoho!Buy有货 | 潮流购物逛不停" | 58 | application.seo.title = "Yoho!Buy有货 | 潮流购物逛不停" |
@@ -51,6 +51,8 @@ application.assets.path = ROOT_PATH "/assets" | @@ -51,6 +51,8 @@ application.assets.path = ROOT_PATH "/assets" | ||
51 | 51 | ||
52 | ; 应用的版本号 | 52 | ; 应用的版本号 |
53 | application.version = "1.2.0" | 53 | application.version = "1.2.0" |
54 | +; JS统计代码的版本号 | ||
55 | +application.yas.version = "1.0.13.2" | ||
54 | 56 | ||
55 | ; 网站SEO信息 | 57 | ; 网站SEO信息 |
56 | application.seo.title = "Yoho!Buy有货 | 潮流购物逛不停" | 58 | application.seo.title = "Yoho!Buy有货 | 潮流购物逛不停" |
@@ -51,6 +51,8 @@ application.assets.path = ROOT_PATH "/assets" | @@ -51,6 +51,8 @@ application.assets.path = ROOT_PATH "/assets" | ||
51 | 51 | ||
52 | ; 应用的版本号 | 52 | ; 应用的版本号 |
53 | application.version = "1.2.0" | 53 | application.version = "1.2.0" |
54 | +; JS统计代码的版本号 | ||
55 | +application.yas.version = "1.0.13.2" | ||
54 | 56 | ||
55 | ; 网站SEO信息 | 57 | ; 网站SEO信息 |
56 | application.seo.title = "Yoho!Buy有货 | 潮流购物逛不停" | 58 | application.seo.title = "Yoho!Buy有货 | 潮流购物逛不停" |
@@ -51,6 +51,8 @@ application.assets.path = ROOT_PATH "/assets" | @@ -51,6 +51,8 @@ application.assets.path = ROOT_PATH "/assets" | ||
51 | 51 | ||
52 | ; 应用的版本号 | 52 | ; 应用的版本号 |
53 | application.version = "1.2.0" | 53 | application.version = "1.2.0" |
54 | +; JS统计代码的版本号 | ||
55 | +application.yas.version = "1.0.13.2" | ||
54 | 56 | ||
55 | ; 网站SEO信息 | 57 | ; 网站SEO信息 |
56 | application.seo.title = "Yoho!Buy有货 | 潮流购物逛不停" | 58 | application.seo.title = "Yoho!Buy有货 | 潮流购物逛不停" |
-
Please register or login to post a comment