Changeset 8

Show
Ignore:
Timestamp:
06/06/06 16:30:12 (2 years ago)
Author:
malte
Message:

"$main::cfg instead of fixed paths in perl - include"

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/engine/vhcs2_common_code.pl

    r6 r8  
    3232BEGIN { 
    3333 
    34         use lib "./lib"; 
     34        use lib $main::cfg{'ROOT_DIR'}."/engine/lib/"; 
    3535     
    3636    my @needed = (strict,  
    3737                  warnings,  
    3838                  IO::Socket, 
    39                   Apache::HTgroup,  
    40                   Apache::HTpasswd, 
     39                  Apache::Htgroup,  
     40                  Apache::Htpasswd, 
    4141                  DBI,  
    4242                  DBD::mysql,