Last change
on this file since 1619 was
1222,
checked in by ezyang, 15 years ago
|
Fix incorrect including of production onserver.pm when scriptsdev=dev is used.
|
-
Property svn:executable set to
*
|
File size:
866 bytes
|
Rev | Line | |
---|
[127] | 1 | #!/usr/bin/perl |
---|
| 2 | use strict; |
---|
[1222] | 3 | use FindBin qw($Bin); |
---|
| 4 | use lib $Bin; |
---|
[127] | 5 | use onserver; |
---|
| 6 | |
---|
| 7 | setup(); |
---|
| 8 | |
---|
[472] | 9 | my ($preva) = fetch_uri( |
---|
| 10 | 'install.php', |
---|
| 11 | {}, |
---|
| 12 | {server => $sqlhost, |
---|
| 13 | name => $sqluser, |
---|
| 14 | password => $sqlpass, |
---|
| 15 | db => $sqldb, |
---|
| 16 | prefix => 'e107_', |
---|
| 17 | stage => 3}) =~ /name='previous_steps' value='(.*)'/; |
---|
[127] | 18 | |
---|
[472] | 19 | my ($prevb) = fetch_uri( |
---|
| 20 | 'install.php', |
---|
| 21 | {}, |
---|
| 22 | {stage => 4, |
---|
| 23 | previous_steps => $preva}) =~ /name='previous_steps' value='(.*)'/; |
---|
[127] | 24 | |
---|
[472] | 25 | my ($prevc) = fetch_uri( |
---|
| 26 | 'install.php', |
---|
| 27 | {}, |
---|
| 28 | {u_name => $admin_username, |
---|
| 29 | d_name => $admin_username, |
---|
| 30 | pass1 => $admin_password, |
---|
| 31 | pass2 => $admin_password, |
---|
[476] | 32 | email => $email, |
---|
[472] | 33 | stage => 6, |
---|
| 34 | previous_steps => $prevb}) =~ /name='previous_steps' value='(.*)'/; |
---|
[127] | 35 | |
---|
[472] | 36 | fetch_uri( |
---|
| 37 | 'install.php', |
---|
| 38 | {}, |
---|
| 39 | {stage => "7", |
---|
| 40 | previous_steps => $prevc}); |
---|
[127] | 41 | |
---|
[472] | 42 | unlink 'install.php'; |
---|
Note: See
TracBrowser
for help on using the repository browser.