Pārlūkot izejas kodu

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 pirms 16 gadiem
vecāks
revīzija
1b1f26ea10
3 mainītis faili ar 3 papildinājumiem un 3 dzēšanām
  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 Parādīt failu

@@ -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 Parādīt failu

@@ -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 Parādīt failu

@@ -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)

Notiek ielāde…
Atcelt
Saglabāt