source: locker/deploy/bin/joomla @ 995

Last change on this file since 995 was 697, checked in by price, 16 years ago
oops. reverse unrelated commit to joomla
  • Property svn:executable set to *
File size: 880 bytes
RevLine 
[127]1#!/usr/bin/perl
2use strict;
3use lib '/mit/scripts/deploy/bin';
4use onserver;
[473]5use Cwd;
[474]6use File::Path;
[127]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
[472]15fetch_uri(
[697]16    'installation/install2.php',
[472]17    {},
[697]18    {DBhostname => $sqlhost,
19     DBuserName => $sqluser,
20     DBpassword => $sqlpass,
21     DBDel => 0,
22     DBname => $sqldb,
23     DBPrefix => 'jos_',
24     DBSample => 1});
[127]25
[472]26fetch_uri(
[697]27    'installation/install4.php',
[472]28    {},
[697]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});
[472]41
[697]42rmtree('installation');
Note: See TracBrowser for help on using the repository browser.