Browse Source

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 years ago
parent
commit
1b1f26ea10
3 changed files with 3 additions and 3 deletions
  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 View File

@@ -20,7 +20,7 @@ try:
import tempfile import tempfile
if 'TRAC_ENV' not in os.environ and \ if 'TRAC_ENV' not in os.environ and \
'TRAC_ENV_PARENT_DIR' not in os.environ: '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: if 'PYTHON_EGG_CACHE' not in os.environ:
os.environ['PYTHON_EGG_CACHE'] = tempfile.gettempdir() os.environ['PYTHON_EGG_CACHE'] = tempfile.gettempdir()
from trac.web import cgi_frontend from trac.web import cgi_frontend


+ 1
- 1
trac/cgi-bin/trac.fcgi View File

@@ -20,7 +20,7 @@ try:
import tempfile import tempfile
if 'TRAC_ENV' not in os.environ and \ if 'TRAC_ENV' not in os.environ and \
'TRAC_ENV_PARENT_DIR' not in os.environ: '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: if 'PYTHON_EGG_CACHE' not in os.environ:
os.environ['PYTHON_EGG_CACHE'] = tempfile.gettempdir() os.environ['PYTHON_EGG_CACHE'] = tempfile.gettempdir()
from trac.web import fcgi_frontend from trac.web import fcgi_frontend


+ 1
- 1
trac/cgi-bin/trac.wsgi View File

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


def application(environ, start_request): 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: if 'PYTHON_EGG_CACHE' not in os.environ:
pkg_resources.set_extraction_path(tempfile.gettempdir()) pkg_resources.set_extraction_path(tempfile.gettempdir())
return dispatch_request(environ, start_request) return dispatch_request(environ, start_request)

Loading…
Cancel
Save