Changeset 214
- Timestamp:
- 12/15/06 23:17:52
(2 years ago)
- Author:
- rats
- Message:
- SETUP: * Fixed Errors
-
Files:
-
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
| r213 |
r214 |
|
| 501 | 501 | } else { |
|---|
| 502 | 502 | if (length($pass1) < 5) { |
|---|
| 503 | | $qmsg = "\n Password too short!"; |
|---|
| | 503 | print STDOUT "\n Password too short!"; |
|---|
| 504 | 504 | return 1; |
|---|
| 505 | 505 | } |
|---|
| 506 | 506 | $qmsg = " Please repeat administrator password: "; |
|---|
| 507 | | print STDOUT $qmsg; |
|---|
| 508 | 507 | $pass2 = read_password($qmsg); |
|---|
| 509 | 508 | |
|---|
| … | … | |
| 511 | 510 | $main::ua{'admin_password'} = $pass1; |
|---|
| 512 | 511 | } else { |
|---|
| 513 | | $qmsg = "\n Passwords do not match!"; |
|---|
| 514 | | print STDOUT $qmsg; |
|---|
| | 512 | print STDOUT "\n Passwords do not match!"; |
|---|
| 515 | 513 | return 1; |
|---|
| 516 | 514 | } |
|---|
| … | … | |
| 1433 | 1431 | # |
|---|
| 1434 | 1432 | |
|---|
| 1435 | | my $cfg_dir = "$main::cfg{'CONF_DIR'}/apache"; |
|---|
| | 1433 | my $cfg_dir = "$main::cfg{'CONF_DIR'}/apache/"; |
|---|
| 1436 | 1434 | |
|---|
| 1437 | 1435 | my $bk_dir = "$cfg_dir/backup"; |
|---|
| 1438 | 1436 | |
|---|
| 1439 | | ($rs, $cfg_tpl) = get_tpl($cfg_dir, 'fastcgi.conf'); |
|---|
| | 1437 | ($rs, $cfg_tpl) = get_tpl($cfg_dir/working, 'fastcgi.conf'); |
|---|
| 1440 | 1438 | return $rs if ($rs != 0); |
|---|
| 1441 | 1439 | |
|---|
|
Download in other formats:
#########################################################################
# Site footer - Contents are automatically inserted after main Trac HTML
?>