浏览代码

Fix trac repo path.

git-svn-id: file:///srv/caca.zoy.org/var/lib/svn/web/branches/test@2970 92316355-f0b4-4df1-b90c-862c8a59935f
remotes/test
sam 16 年前
父节点
当前提交
1b1f26ea10
共有 3 个文件被更改,包括 3 次插入3 次删除
  1. +1
    -1
      trac/cgi-bin/trac.cgi
  2. +1
    -1
      trac/cgi-bin/trac.fcgi
  3. +1
    -1
      trac/cgi-bin/trac.wsgi

+ 1
- 1
trac/cgi-bin/trac.cgi 查看文件

@@ -20,7 +20,7 @@ try:
import tempfile
if 'TRAC_ENV' not in os.environ and \
'TRAC_ENV_PARENT_DIR' not in os.environ:
os.environ['TRAC_ENV'] = '/srv/caca.zoy.org/var/lib/trac'
os.environ['TRAC_ENV'] = '/srv/caca.zoy.org/var/lib/trac-test'
if 'PYTHON_EGG_CACHE' not in os.environ:
os.environ['PYTHON_EGG_CACHE'] = tempfile.gettempdir()
from trac.web import cgi_frontend


+ 1
- 1
trac/cgi-bin/trac.fcgi 查看文件

@@ -20,7 +20,7 @@ try:
import tempfile
if 'TRAC_ENV' not in os.environ and \
'TRAC_ENV_PARENT_DIR' not in os.environ:
os.environ['TRAC_ENV'] = '/srv/caca.zoy.org/var/lib/trac'
os.environ['TRAC_ENV'] = '/srv/caca.zoy.org/var/lib/trac-test'
if 'PYTHON_EGG_CACHE' not in os.environ:
os.environ['PYTHON_EGG_CACHE'] = tempfile.gettempdir()
from trac.web import fcgi_frontend


+ 1
- 1
trac/cgi-bin/trac.wsgi 查看文件

@@ -21,7 +21,7 @@ from trac.web.main import dispatch_request
import pkg_resources

def application(environ, start_request):
environ['trac.env_path'] = '/srv/caca.zoy.org/var/lib/trac'
environ['trac.env_path'] = '/srv/caca.zoy.org/var/lib/trac-test'
if 'PYTHON_EGG_CACHE' not in os.environ:
pkg_resources.set_extraction_path(tempfile.gettempdir())
return dispatch_request(environ, start_request)

正在加载...
取消
保存