Changeset 354

Show
Ignore:
Timestamp:
02/06/08 20:32:45 (5 months ago)
Author:
hans
Message:

Refs #150 - Added some redundant looking lines which seem to clear up the issue of being unable to find config file.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • branches/2.3/classes/phing/tasks/ext/phpdoc/PhingPhpDocumentorSetup.php

    r352 r354  
    4040         */ 
    4141        public function __construct($configdir = null) { 
    42                 global $_phpDocumentor_cvsphpfile_exts, $_phpDocumentor_setting
     42                global $_phpDocumentor_cvsphpfile_exts, $_phpDocumentor_setting, $_phpDocumentor_phpfile_exts
    4343                 
    4444                $this->setup = new Io(); 
     
    4848        $this->parseIni(); 
    4949                 
     50        // These redundant-looking lines seem to actually make a difference. 
     51        // See: http://phing.info/trac/ticket/150 
     52        $_phpDocumentor_phpfile_exts = $GLOBALS['_phpDocumentor_phpfile_exts']; 
     53                $_phpDocumentor_cvsphpfile_exts = $GLOBALS['_phpDocumentor_cvsphpfile_exts']; 
     54 
    5055                if (tokenizer_ext) { 
    5156            $this->parse = new phpDocumentorTParser();