From 41df1894a9c817f3dac565ff58f68c0c24aee630 Mon Sep 17 00:00:00 2001 From: John Date: Thu, 3 May 2018 17:46:40 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E5=8D=95=E4=BE=8B=E9=85=8D?= =?UTF-8?q?=E7=BD=AE=E7=AE=A1=E7=90=86=E5=99=A8=E5=8F=8A=E6=A8=A1=E6=9D=BF?= =?UTF-8?q?=E5=BC=95=E6=93=8E=E5=AF=B9=E8=B1=A1=E7=9A=84=E5=90=AF=E5=8A=A8?= =?UTF-8?q?=E5=8F=82=E6=95=B0=E5=90=8D=E7=A7=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- g/frame/gins/gins.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/g/frame/gins/gins.go b/g/frame/gins/gins.go index c81ff0625..8bc74549a 100644 --- a/g/frame/gins/gins.go +++ b/g/frame/gins/gins.go @@ -41,7 +41,7 @@ func View() *gview.View { if result != nil { return result.(*gview.View) } else { - path := gcmd.Option.Get("viewpath") + path := gcmd.Option.Get("gf.viewpath") if path == "" { path = genv.Get("gf.viewpath") if path == "" { @@ -67,7 +67,7 @@ func Config() *gcfg.Config { if result != nil { return result.(*gcfg.Config) } else { - path := gcmd.Option.Get("cfgpath") + path := gcmd.Option.Get("gf.cfgpath") if path == "" { path = genv.Get("gf.cfgpath") if path == "" {