Ignore:
Timestamp:
22/03/10 14:20:18 (10 years ago)
Author:
sdonegan
Message:

Fix logout link

File:
1 edited

Legend:

Unmodified
Added
Removed
  • TI01-discovery-OaiInfoEditor/trunk/v3n_NDG3/OAIInfoEditor/oai_info_editor/controllers/master.py

    r5631 r6756  
    1414ADMIN_FLAG = 'admin' 
    1515ADMIN_PARAMETER = "?%s=1" %ADMIN_FLAG 
    16 BASE_SERVER_URL = "http://%s/logout" 
     16BASE_SERVER_URL = "http://%s/%s/logout" 
    1717class MasterController(BaseController): 
    1818 
     
    2828        c.user = self.__getUserDetails() 
    2929         
    30         c.logoutLink = BASE_SERVER_URL %request.environ['HTTP_HOST']  
     30        c.logoutLink = BASE_SERVER_URL %(request.environ['HTTP_HOST'], g.baseUrl)  
    3131        c.homeLink = h.url_for('home') 
    3232        c.helpLink = h.url_for('help') 
Note: See TracChangeset for help on using the changeset viewer.