Changeset 697


Ignore:
Timestamp:
Mar 24, 2008, 11:29:03 PM (14 years ago)
Author:
price
Message:
oops.  reverse unrelated commit to joomla
File:
1 edited

Legend:

Unmodified
Added
Removed
  • locker/deploy/bin/joomla

    r696 r697  
    55use Cwd;
    66use File::Path;
    7 
    8 $ua->cookie_jar({file => '.cookies'});
    97
    108setup();
     
    1614
    1715fetch_uri(
    18     'installation/index.php',
    19     {});
     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});
    2025
    2126fetch_uri(
    22     'installation/index.php',
     27    'installation/install4.php',
    2328    {},
    24     {"vars[lang]" => "en-GB",
    25      task => "preinstall"});
     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});
    2641
    27 fetch_uri(
    28     'installation/index.php',
    29     {},
    30     {task => "license"});
    31 
    32 fetch_uri(
    33     'installation/index.php',
    34     {},
    35     {task => "dbconfig"});
    36 
    37 fetch_uri(
    38     'installation/index.php',
    39     {},
    40      {"vars[DBtype]" => "mysql",
    41       "vars[DBhostname]" => $sqlhost,
    42       "vars[DBuserName]" => $sqluser,
    43       "vars[DBpassword]" => $sqlpass,
    44       "vars[DBname]" => $sqldb,
    45       "vars[DBOld]" => "rm",
    46       "vars[DBPrefix]" => "jos_",
    47       "vars[lang]" => "en-GB",
    48       "vars[ftpEnable]" => 0,
    49       task => "makedb"});
    50 
    51 fetch_uri(
    52     'installation/index.php',
    53     {},
    54      {"vars[ftpEnable]" => 0,
    55       "vars[ftpUser]" => "",
    56       "vars[ftpPassword]" => "",
    57       "vars[ftpRoot]" => "",
    58       "vars[ftpHost]" => "",
    59       "vars[ftpPort]" => "",
    60       "vars[ftpSavePass]" => 0,
    61       lang => "en-GB",
    62       task => "mainconfig"});
    63 
    64 fetch_uri(
    65     'installation/index.php',
    66     {},
    67     {"vars[siteName]" => 'OHAI',
    68       "vars[adminEmail]" => $email,
    69       "vars[adminPassword]" => $admin_password,
    70       "vars[confirmAdminPassowrd]" => $admin_password,
    71       #"instDefault" => "Install Sample Data",
    72       "vars[oldPrefix]" => "",
    73       "vars[srcEncoding]" => "",
    74       sqlFile => "",
    75       sqlUploaded => "",
    76       migration => "",
    77       sqlupload => 0,
    78       migrationupload => 0,
    79       loadchecked => 0,
    80       dataLoaded => "",
    81       DBtype => "mysql",
    82       DBhostname => $sqlhost,
    83       DBuserName => $sqluser,
    84       DBpassword => $sqlpass,
    85       DBname => $sqldb,
    86       DBPrefix => "jos_",
    87       ftpRoot => "",
    88       ftpEnable => 0,
    89       ftpHost => 127.0.0.1,
    90       ftpPort => 21,
    91       ftpUser => "",
    92       ftpPassword => "",
    93       lang => "en-GB",
    94       migstatus => "",
    95      task => "saveconfig"});
    96 
    97 `mv installation installation-old`;
    98 
    99 exit 0;
     42rmtree('installation');
Note: See TracChangeset for help on using the changeset viewer.