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