Просмотр исходного кода

added radix to parseInt() call

Miguel Serrano 6 лет назад
Родитель
Сommit
a1109d3a1e
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      server-ce/settings.coffee

+ 1 - 1
server-ce/settings.coffee

@@ -213,7 +213,7 @@ settings =
 		collaborators: -1
 		collaborators: -1
 		dropbox: true
 		dropbox: true
 		versioning: true
 		versioning: true
-		compileTimeout: parseInt(process.env["COMPILE_TIMEOUT"]) or 180
+		compileTimeout: parseInt(process.env["COMPILE_TIMEOUT"] or 180, 10)
 		compileGroup: "standard"
 		compileGroup: "standard"
 		trackChanges: true
 		trackChanges: true
 		templates: true
 		templates: true