source: locker/deploy/bin/joomla @ 1101

Last change on this file since 1101 was 697, checked in by price, 17 years ago
oops. reverse unrelated commit to joomla
  • Property svn:executable set to *
File size: 880 bytes
Line 
1#!/usr/bin/perl
2use strict;
3use lib '/mit/scripts/deploy/bin';
4use onserver;
5use Cwd;
6use File::Path;
7
8setup();
9
10print "\nPlease decide upon a title for your site and enter it below.\n";
11print "Desired title: ";
12my $title = <STDIN>;
13chomp($title);
14
15fetch_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
26fetch_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
42rmtree('installation');
Note: See TracBrowser for help on using the repository browser.