From 1a5d9a134e88915b5db447924f532fd63aaeb45e Mon Sep 17 00:00:00 2001 From: =?utf8?q?Marek=20St=C4=99pniowski?= Date: Sun, 11 Oct 2009 14:06:47 +0200 Subject: [PATCH] =?utf8?q?Poprawienie=20=C5=9Bcie=C5=BCek=20w=20wolnelektu?= =?utf8?q?ry.fcgi=20i=20wolnelektury.wsgi.?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- wolnelektury/wolnelektury.fcgi | 6 +++--- wolnelektury/wolnelektury.wsgi | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/wolnelektury/wolnelektury.fcgi b/wolnelektury/wolnelektury.fcgi index 1f9c621c1..51157583e 100644 --- a/wolnelektury/wolnelektury.fcgi +++ b/wolnelektury/wolnelektury.fcgi @@ -8,12 +8,12 @@ import sys sys.stdout = sys.stderr # Add apps and lib directories to PYTHONPATH -sys.path.insert(0, abspath(join(dirname(__file__), '../../apps'))) -sys.path.insert(0, abspath(join(dirname(__file__), '../../lib'))) +sys.path.insert(0, abspath(join(dirname(__file__), '../apps'))) +sys.path.insert(0, abspath(join(dirname(__file__), '../lib'))) # Emulate manage.py path hacking. -sys.path.insert(0, abspath(join(dirname(__file__), "../../"))) sys.path.insert(0, abspath(join(dirname(__file__), "../"))) +sys.path.insert(0, abspath(join(dirname(__file__), "."))) # Run Django os.environ['DJANGO_SETTINGS_MODULE'] = 'settings' diff --git a/wolnelektury/wolnelektury.wsgi b/wolnelektury/wolnelektury.wsgi index 590d36bcd..acafede9c 100644 --- a/wolnelektury/wolnelektury.wsgi +++ b/wolnelektury/wolnelektury.wsgi @@ -8,12 +8,12 @@ import sys sys.stdout = sys.stderr # Add apps and lib directories to PYTHONPATH -sys.path.insert(0, abspath(join(dirname(__file__), '../../apps'))) -sys.path.insert(0, abspath(join(dirname(__file__), '../../lib'))) +sys.path.insert(0, abspath(join(dirname(__file__), '../apps'))) +sys.path.insert(0, abspath(join(dirname(__file__), '../lib'))) # Emulate manage.py path hacking. -sys.path.insert(0, abspath(join(dirname(__file__), "../../"))) sys.path.insert(0, abspath(join(dirname(__file__), "../"))) +sys.path.insert(0, abspath(join(dirname(__file__), "."))) # Run Django os.environ['DJANGO_SETTINGS_MODULE'] = 'settings' -- 2.20.1