Changeset 267
- Timestamp:
- 12/06/07 13:20:39 (15 years ago)
- Location:
- dev/install
- Files:
-
- 4 modified
Legend:
- Unmodified
- Added
- Removed
-
dev/install/install_step4.php
r266 r267 3 3 { 4 4 echo 'Redirecting you to the Update page, please wait.<br/>'; 5 echo '<meta http-equiv="refresh" content="1; URL=?step=40 " />';5 echo '<meta http-equiv="refresh" content="1; URL=?step=40&action=drop" />'; 6 6 return; 7 7 } -
dev/install/install_step40.php
r266 r267 6 6 include('../common/includes/class.db.php'); 7 7 8 echo 'Running database checks... ';9 include('install_step40_tblchk.php');10 echo 'done<br/>';11 8 12 9 echo 'Reading packages...'; … … 54 51 mysql_select_db($_SESSION['sql']['db']); 55 52 56 if (!isset($_REQUEST['sub'])) 57 { 53 if ($_REQUEST['action'] == 'drop') 54 { 55 echo 'Running database checks... '; 56 include('install_step40_tblchk.php'); 57 echo 'done<br/>'; 58 58 59 echo 'Dropping some tables...<br/>'; 59 60 $dropdata = explode(',', 'kb3_ships,kb3_ship_classes,kb3_item_types,kb3_regions,kb3_systems,kb3_system_jumps,kb3_item_locations,kb3_constellations,kb3_races'); -
dev/install/install_step41.php
r254 r267 17 17 fwrite($fp, trim($config)); 18 18 fclose($fp); 19 chmod('../kbconfig.php', 04 00);19 chmod('../kbconfig.php', 0440); 20 20 21 21 function insertConfig($key, $value) -
dev/install/install_step7.php
r254 r267 10 10 fwrite($fp, trim($config)); 11 11 fclose($fp); 12 chmod('../kbconfig.php', 04 00);12 chmod('../kbconfig.php', 0440); 13 13 ?> 14 <p>I wrote the config to ../kbconfig.php and chmodded it to 4 00.<br/>14 <p>I wrote the config to ../kbconfig.php and chmodded it to 440.<br/> 15 15 </p> 16 16 <?php