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
|
Line | |
---|
1 | #!/usr/bin/perl |
---|
2 | use strict; |
---|
3 | use lib '/mit/scripts/deploy/bin'; |
---|
4 | use onserver; |
---|
5 | use Cwd; |
---|
6 | use File::Path; |
---|
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 | |
---|
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}); |
---|
25 | |
---|
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, |
---|
36 | absolutePath => getcwd(), |
---|
37 | adminEmail => $email, |
---|
38 | adminPassword => $admin_password, |
---|
39 | filePerms => 0, |
---|
40 | dirPerms => 0}); |
---|
41 | |
---|
42 | rmtree('installation'); |
---|
Note: See
TracBrowser
for help on using the repository browser.