Changeset 214

Show
Ignore:
Timestamp:
12/15/06 23:17:52 (2 years ago)
Author:
rats
Message:

- SETUP: * Fixed Errors

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/engine/setup/vhcs2-setup

    r213 r214  
    501501    } else { 
    502502        if (length($pass1) < 5) { 
    503                         $qmsg = "\n    Password too short!"; 
     503                        print STDOUT "\n    Password too short!"; 
    504504                return 1; 
    505505        } 
    506506        $qmsg = "    Please repeat administrator password: "; 
    507         print STDOUT $qmsg; 
    508507        $pass2 = read_password($qmsg); 
    509508 
     
    511510                $main::ua{'admin_password'} = $pass1; 
    512511        } else { 
    513                 $qmsg = "\n    Passwords do not match!"; 
    514                 print STDOUT $qmsg; 
     512                print STDOUT "\n    Passwords do not match!"; 
    515513            return 1; 
    516514        } 
     
    14331431        # 
    14341432 
    1435         my $cfg_dir = "$main::cfg{'CONF_DIR'}/apache"; 
     1433        my $cfg_dir = "$main::cfg{'CONF_DIR'}/apache/"; 
    14361434 
    14371435        my $bk_dir = "$cfg_dir/backup"; 
    14381436 
    1439         ($rs, $cfg_tpl) = get_tpl($cfg_dir, 'fastcgi.conf'); 
     1437        ($rs, $cfg_tpl) = get_tpl($cfg_dir/working, 'fastcgi.conf'); 
    14401438    return $rs if ($rs != 0); 
    14411439