Ignore:
Timestamp:
06/12/07 12:20:26 (12 years ago)
Author:
lawrence
Message:

Oops, fix to actually respect the config file value of standalone true or false

File:
1 edited

Legend:

Unmodified
Added
Removed
  • TI05-delivery/ows_framework/trunk/ows_server/ows_server/config/ndgMiddleware.py

    r3119 r3120  
    3838        self.globals.icons_R=cf.get('RELATED','icon') 
    3939        self.globals.icons_key=cf.get('layout','key') 
    40         self.globals.standalone=cf.get('DISCOVERY','standalone') 
     40        
    4141        self.globals.disclaimer=cf.get('default','disclaimer') 
    4242         
     
    5454        self.globals.securityCfg = SecurityConfig(cf) 
    5555         
     56        # for standalone discovery 
     57        standalone={'True':1,'False':0}[cf.get('DISCOVERY','standalone')] 
     58        self.globals.standalone= standalone 
     59          
     60         
    5661        self.config=cf 
    5762         
Note: See TracChangeset for help on using the changeset viewer.