From: tkt Date: Sun, 17 Jan 2010 15:20:33 +0000 (+0900) Subject: 環境変数の変更 X-Git-Url: http://git.osdn.net/view?p=wolvez%2Fwolvez.git;a=commitdiff_plain;h=655a661435f498c721c36b5c2a931412716746e5 環境変数の変更 --- diff --git a/trunk/index.cgi b/trunk/index.cgi index d5b94d4..694fcc1 100644 --- a/trunk/index.cgi +++ b/trunk/index.cgi @@ -1,4 +1,4 @@ -#!/usr/bin/env ruby +#!/usr/bin/ruby -Ku # # This is free software with ABSOLUTELY NO WARRANTY. # You can redistribute it and/or modify it under GPL2. diff --git a/trunk/lib/config.rb.default b/trunk/lib/config.rb.default index 2c41227..89646b6 100644 --- a/trunk/lib/config.rb.default +++ b/trunk/lib/config.rb.default @@ -1,7 +1,7 @@ GAME_TITLE = '人狼達の黄昏::夜明し' # 置いてあるサーバとパス(URI) -SET_SERV = 'example.jp' +SET_SERV = ENV['SERVER_NAME'] || 'example.jp' SET_PATH = '/m/' MASTER = 'master'