Fix spelling errors in comments.

This commit is contained in:
Joseph Crail 2014-12-06 20:22:48 -05:00
parent 47e7175b80
commit 39c068400e
17 changed files with 24 additions and 24 deletions

View file

@ -107,7 +107,7 @@ func SetEngine() (err error) {
return fmt.Errorf("models.init(fail to connect to database): %v", err)
}
// WARNNING: for serv command, MUST remove the output to os.stdout,
// WARNING: for serv command, MUST remove the output to os.stdout,
// so use log file to instead print to stdout.
logPath := path.Join(setting.LogRootPath, "xorm.log")
os.MkdirAll(path.Dir(logPath), os.ModePerm)