Browse files

Általánosítottam az elérési útvonalat.

  • Loading branch information...
1 parent 6951ba8 commit 92795037bf0dcc614270efbb198cdf7661c6d1b7 @reedcourty committed Jan 24, 2012
Showing with 3 additions and 2 deletions.
  1. +3 −2 jelentkezes/apache/django.wsgi
View
5 jelentkezes/apache/django.wsgi
@@ -1,8 +1,9 @@
import os
import sys
-paths = ['/home/reedcourty_l/jelentkezes.tnt',
- '/home/reedcourty_l/jelentkezes.tnt/jelentkezes',]
+PROJECT_PATH = os.path.dirname(os.path.abspath(__file__)).rsplit("/",2)[0]
+
+paths = [PROJECT_PATH, PROJECT_PATH + '/jelentkezes',]
for p in paths:
if p not in sys.path:

0 comments on commit 9279503

Please sign in to comment.