|
|
|
@ -28,7 +28,7 @@ func init() {
|
|
|
|
|
f.Video = "/video"
|
|
|
|
|
f.Temp = "/temp"
|
|
|
|
|
if runtime.GOOS == "linux" {
|
|
|
|
|
f.Root = "/www/wwwroot/recook/static"
|
|
|
|
|
f.Root = "/www/wwwroot/recook_v2/static"
|
|
|
|
|
f.RootPhp = "/www/wwwroot/testsp.reecook.cn/public"
|
|
|
|
|
_, err := os.Stat(f.Root)
|
|
|
|
|
if os.IsNotExist(err) {
|
|
|
|
|