Changeset 342 for dev/install

Show
Ignore:
Timestamp:
10/16/08 10:06:42 (13 years ago)
Author:
beans
Message:

* Fixed some typos and leftover debug in ralles code.

Location:
dev/install
Files:
2 modified

Legend:

Unmodified
Added
Removed
  • dev/install/install_step3.php

    r341 r342  
    3838<tr><td width="120"><b>Password:</b></td><td><input type=text name=dbpass id=pass size=20 maxlength=80 value="<?php echo $_SESSION['sql']['pass']; ?>"></td></tr> 
    3939<tr><td width="120"><b>Database:</b></td><td><input type=text name=db id=db size=20 maxlength=80 value="<?php echo $_SESSION['sql']['db']; ?>"></td></tr> 
    40 <tr><td width="120"><b>Engine:</b></td><td><input type=radio name=engine id=engine value="MyISAM"> MyISAM <input type=radio name=engine id=engine value="InnoDB">InnoDB</tr> 
     40<tr><td width="120"><b>Engine:</b></td><td><input type=radio name=engine id=engine value="MyISAM"  <?php if ($_SESSION['sql']['engine'] != "InnoDB") echo "CHECKED"; ?>> MyISAM <input <?php if ($_SESSION['sql']['engine'] == "InnoDB") echo "CHECKED"; ?> type=radio name=engine id=engine value="InnoDB">InnoDB</tr> 
    4141<tr><td width="120"></td><td><input type=submit name=submit value="Test"></td></tr> 
    4242</table> 
     
    9999    } 
    100100} 
    101 die(); 
    102101?> 
    103102 
  • dev/install/install_step4.php

    r341 r342  
    7272        { 
    7373            echo 'done<br/>'; 
    74                 if $_SESSION['sql']['engine'] == "InnoDB"{ 
     74                if ($_SESSION['sql']['engine'] == "InnoDB"){ 
    7575                        echo 'Altering table '. $table .' into InnoDB...'; 
    7676                        $id = mysql_query('ALTER TABLE '.$table.' ENGINE=InnoDB;');