Changeset 5150

Show
Ignore:
Timestamp:
08/17/08 11:37:25 (5 months ago)
Author:
splee
Message:

Fixes issue with AppConfig?.setup_mako_renderer() still using app_conf to find template path instead of self.paths

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/tg/config.py

    r5136 r5150  
    113113        config['pylons.app_globals'].mako_lookup = TemplateLookup( 
    114114            directories=self.paths['templates'], 
    115             module_directory=os.path.join(app_conf['cache_dir'], 'templates')
     115            module_directory=self.paths['templates']
    116116            input_encoding='utf-8', output_encoding='utf-8', 
    117117            imports=['from webhelpers.html import escape'],