Changeset 225


Ignore:
Timestamp:
04/09/06 05:14:24 (18 years ago)
Author:
nanardon
Message:
  • fix global section query
  • avoid undefined value
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/soft/ObsData/ObsData.pm

    r224 r225  
    6969        $options{plugindir}, 
    7070        dirname($0), 
    71         split(/\s+/, $obsdata->{config}->val('.', 'plugindir')), 
     71        split(/\s+/, $obsdata->{config}->val('global', 'plugindir') || ''), 
    7272    ); 
    7373         
    74     $obsdata->{logfile} ||= $obsdata->{config}->val('.', 'logfile') || 'obsdata.log'; 
     74    $obsdata->{logfile} ||= $obsdata->{config}->val('global', 'logfile') || 'obsdata.log'; 
    7575 
    7676    bless($obsdata, $class); 
Note: See TracChangeset for help on using the changeset viewer.