| Last change
                  on this file since 798 was
                  697,
                  checked in by price, 18 years ago | 
        
          | oops.  reverse unrelated commit to joomla | 
        
          | 
              
                  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( | 
|---|
| [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] | 26 | fetch_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] | 42 | rmtree('installation'); | 
|---|
       
      
      Note: See 
TracBrowser
        for help on using the repository browser.