Show
Ignore:
Timestamp:
12/06/07 13:20:39 (15 years ago)
Author:
exi
Message:

Config file is now saved as 440.
The upgrader should now drop tables at initial call of step40.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • dev/install/install_step40.php

    r266 r267  
    66include('../common/includes/class.db.php'); 
    77 
    8 echo 'Running database checks... '; 
    9 include('install_step40_tblchk.php'); 
    10 echo 'done<br/>'; 
    118 
    129echo 'Reading packages...'; 
     
    5451mysql_select_db($_SESSION['sql']['db']); 
    5552 
    56 if (!isset($_REQUEST['sub'])) 
    57 { 
     53if ($_REQUEST['action'] == 'drop') 
     54{ 
     55    echo 'Running database checks... '; 
     56    include('install_step40_tblchk.php'); 
     57    echo 'done<br/>'; 
     58 
    5859    echo 'Dropping some tables...<br/>'; 
    5960    $dropdata = explode(',', 'kb3_ships,kb3_ship_classes,kb3_item_types,kb3_regions,kb3_systems,kb3_system_jumps,kb3_item_locations,kb3_constellations,kb3_races');