richter     2005/10/03 05:10:23

  Modified:    eg/web   config.pl
  Log:
  Update fuer website anzeige von alter Doku
  
  Revision  Changes    Path
  1.15      +13 -2     embperl/eg/web/config.pl
  
  Index: config.pl
  ===================================================================
  RCS file: /home/cvs/embperl/eg/web/config.pl,v
  retrieving revision 1.14
  retrieving revision 1.15
  diff -u -r1.14 -r1.15
  --- config.pl 3 Oct 2005 06:54:15 -0000       1.14
  +++ config.pl 3 Oct 2005 12:10:22 -0000       1.15
  @@ -35,6 +35,14 @@
               $self -> {lib_1_3}     = $lib_1_3 ;
               }
        }
  +    elsif ($INC{'Apache2/RequestRec.pm'})
  +     {
  +        my $lib_1_3 = dirname ($INC{'Apache2/RequestRec.pm'})  ;
  +        if (-e ($lib_1_3 . '/../HTML/Embperl.pod'))
  +            {
  +            $self -> {lib_1_3}     = dirname($lib_1_3) ;
  +            }
  +     }
       $self -> {lib_1_3} ||= '' ;
   
       # check if DBIx::Recordset is installed
  @@ -179,16 +187,19 @@
                   { menu => 'HTML::Embperl::Session',uri => 
'HTML/Embperl/Session.htm',       path => '%lib_1_3%/HTML/Embperl/Session.pm' ,
                     desc => { en => 'Documentation for Embperls session 
handling object', 
                               de => 'Dokumentation über Embperls Session 
Objekt' }},
  -                { menu => 'Tips & Tricks',         uri => 
'HTML/Embperl/TipsAndTricks.htm', path => '%lib_1_3%/HTML/TipsAndTricks.pod' ,
  +                { menu => 'Tips & Tricks',         uri => 
'HTML/Embperl/TipsAndTricks.htm', path => 
'%lib_1_3%/HTML/Embperl/TipsAndTricks.pod' ,
                     desc => { en => 'Tips & Tricks for Embperl 1.3.6', 
                               de => 'Tips & Tricks für Embperl 1.3.6' }},
   
  -                { menu => 'FAQ',                    uri => 'pod/Faq.htm',    
           path => '%lib_1_3%/HTML/Faq.pod',
  +                { menu => 'FAQ',                    uri => 'pod/Faq.htm',    
           path => '%lib_1_3%/HTML/Embperl/Faq.pod',
                     desc => { en => 'FAQ for Embperl 1.3.6', 
                               de => 'FAQ für Embperl 1.3.6' }},
   
                   ],
               },
  +            { menu => 'DBIx::Recordset',   uri => 'Recordset.htm',    path 
=> '%lib_dbix%/DBIx/Recordset.pm',
  +                  desc => { en => 'Documentation of DBIx::Recordset', 
  +                            de => 'Dokumentation von DBIx::Recordset' }},
               ],
           },
           { menu => 'Installation',           uri => 'pod/INSTALL.htm',        
   file => 'INSTALL.pod', sub =>
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to