Changeset 2651

Show
Ignore:
Timestamp:
09/22/07 18:34:08 (1 year ago)
Author:
Blackhex
Message:

- Fixed #1564.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • doxygenplugin/0.10/doxygentrac/doxygentrac.py

    r1983 r2651  
    108108                req.args['path'] = path 
    109109            return True 
    110              
     110 
    111111    def process_request(self, req): 
    112112        req.perm.assert_permission('DOXYGEN_VIEW') 
     
    150150                req.hdf['doxygen.wiki_page'] = wiki 
    151151                return 'doxygen.cs', 'text/html' 
     152 
    152153            # use configured Doxygen index 
    153154            path = os.path.join(self.base_path, self.default_doc, 
    154155                                self.html_output, self.index) 
     156 
     157        self.log.debug('path: %s' % (path,)) 
     158 
    155159        # security check 
    156160        path = os.path.abspath(path) 
     
    165169            return 'doxygen.cs', 'text/html' 
    166170        else: 
    167             req.send_file(path, mimetype)             
     171            req.send_file(path, mimetype) 
    168172 
    169173    # ITemplateProvider methods 
     
    214218 
    215219    # IWikiSyntaxProvider 
    216      
     220 
    217221    def get_link_resolvers(self): 
    218222        def doxygen_link(formatter, ns, params, label): 
     
    264268                                                   file or self.index]) 
    265269            else: 
    266                 doc = '' 
    267          
     270                doc = self.html_output 
     271 
    268272        def lookup(file, category='undefined'): 
    269273            """Build (full path, relative link) and check if path exists.""" 
  • doxygenplugin/0.11/doxygentrac/doxygentrac.py

    r2069 r2651  
    109109                req.args['path'] = path 
    110110            return True 
    111              
     111 
    112112    def process_request(self, req): 
    113113        req.perm.assert_permission('DOXYGEN_VIEW') 
     
    154154            path = os.path.join(self.base_path, self.default_doc, 
    155155                                self.html_output, self.index) 
     156 
     157        self.log.debug('path: %s' % (path,)) 
     158 
    156159        # security check 
    157160        path = os.path.abspath(path) 
     
    215218 
    216219    # IWikiSyntaxProvider 
    217      
     220 
    218221    def get_link_resolvers(self): 
    219222        def doxygen_link(formatter, ns, params, label): 
     
    265268                                                   file or self.index]) 
    266269            else: 
    267                 doc = '' 
    268          
     270                doc = self.html_output 
     271 
    269272        def lookup(file, category='undefined'): 
    270273            """Build (full path, relative link) and check if path exists."""