summaryrefslogtreecommitdiffstats
path: root/serve.go
diff options
context:
space:
mode:
authorUnknown <joe2010xtmf@163.com>2014-03-20 16:04:56 -0400
committerUnknown <joe2010xtmf@163.com>2014-03-20 16:04:56 -0400
commit06631ab91f5d84b48d6f71ac8eaf4df740ba0282 (patch)
tree8bfcccc57550c016b90a73fc57cc24942d508096 /serve.go
parent686348974b1a1f6f11cab5244df2362f99e0a124 (diff)
downloadgitea-06631ab91f5d84b48d6f71ac8eaf4df740ba0282.tar.gz
gitea-06631ab91f5d84b48d6f71ac8eaf4df740ba0282.zip
Basic admin data table, models changes
Diffstat (limited to 'serve.go')
-rw-r--r--serve.go4
1 files changed, 3 insertions, 1 deletions
diff --git a/serve.go b/serve.go
index ddc670235e..2a17a33490 100644
--- a/serve.go
+++ b/serve.go
@@ -12,7 +12,9 @@ import (
"strings"
"github.com/codegangsta/cli"
+
"github.com/gogits/gogs/models"
+ "github.com/gogits/gogs/modules/base"
)
var (
@@ -144,7 +146,7 @@ func runServ(*cli.Context) {
}
gitcmd := exec.Command(verb, rRepo)
- gitcmd.Dir = models.RepoRootPath
+ gitcmd.Dir = base.RepoRootPath
gitcmd.Stdout = os.Stdout
gitcmd.Stdin = os.Stdin
gitcmd.Stderr = os.Stderr