Changeset 681 for trunk/install.php


Ignore:
Timestamp:
Jan 9, 2005, 12:32:25 AM (20 years ago)
Author:
plg
Message:
  • replacement of variable names in include/mysql.inc.php (for upgrades) :

dbname => cfgBase
dbuser => cfgUser
dbpasswd => cfgPassword
dbhost => cfgHote
table_prefix => prefixeTable

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/install.php

    r675 r681  
    252252    $step = 2;
    253253    $file_content = "<?php";
    254     $file_content.= "\n\$dbname = '".     $dbname."';";
    255     $file_content.= "\n\$dbuser = '".     $dbuser."';";
    256     $file_content.= "\n\$dbpasswd = '". $dbpasswd."';";
    257     $file_content.= "\n\$dbhost = '".     $dbhost."';";
     254    $file_content.= "\n\$cfgBase = '".     $dbname."';";
     255    $file_content.= "\n\$cfgUser = '".     $dbuser."';";
     256    $file_content.= "\n\$cfgPassword = '". $dbpasswd."';";
     257    $file_content.= "\n\$cfgHote = '".     $dbhost."';";
    258258    $file_content.= "\n";
    259     $file_content.= "\n\$table_prefix = '".$table_prefix."';";
     259    $file_content.= "\n\$prefixeTable = '".$table_prefix."';";
    260260    $file_content.= "\n";
    261261    $file_content.= "\ndefine('PHPWG_INSTALLED', true);";
Note: See TracChangeset for help on using the changeset viewer.