Last change
on this file since 476 was
476,
checked in by andersk, 17 years ago
|
Add $email variable.
|
-
Property svn:executable set to
*
|
File size:
880 bytes
|
Rev | Line | |
---|
[127] | 1 | #!/usr/bin/perl |
---|
| 2 | use strict; |
---|
| 3 | use lib '/mit/scripts/deploy/bin'; |
---|
| 4 | use onserver; |
---|
[473] | 5 | use Cwd; |
---|
[474] | 6 | use File::Path; |
---|
[127] | 7 | |
---|
| 8 | setup(); |
---|
| 9 | |
---|
| 10 | print "\nPlease decide upon a title for your site and enter it below.\n"; |
---|
| 11 | print "Desired title: "; |
---|
| 12 | my $title = <STDIN>; |
---|
| 13 | chomp($title); |
---|
| 14 | |
---|
[472] | 15 | fetch_uri( |
---|
| 16 | 'installation/install2.php', |
---|
| 17 | {}, |
---|
| 18 | {DBhostname => $sqlhost, |
---|
| 19 | DBuserName => $sqluser, |
---|
| 20 | DBpassword => $sqlpass, |
---|
| 21 | DBDel => 0, |
---|
| 22 | DBname => $sqldb, |
---|
| 23 | DBPrefix => 'jos_', |
---|
| 24 | DBSample => 1}); |
---|
[127] | 25 | |
---|
[472] | 26 | fetch_uri( |
---|
| 27 | 'installation/install4.php', |
---|
| 28 | {}, |
---|
| 29 | {DBhostname => $sqlhost, |
---|
| 30 | DBuserName => $sqluser, |
---|
| 31 | DBpassword => $sqlpass, |
---|
| 32 | DBname => $sqldb, |
---|
| 33 | DBPrefix => 'jos_', |
---|
| 34 | sitename => $title, |
---|
| 35 | siteUrl => $base_uri, |
---|
[473] | 36 | absolutePath => getcwd(), |
---|
[476] | 37 | adminEmail => $email, |
---|
[472] | 38 | adminPassword => $admin_password, |
---|
| 39 | filePerms => 0, |
---|
| 40 | dirPerms => 0}); |
---|
| 41 | |
---|
[474] | 42 | rmtree('installation'); |
---|
Note: See
TracBrowser
for help on using the repository browser.