Changeset 95 for dev/install

Show
Ignore:
Timestamp:
11/28/06 08:54:08 (14 years ago)
Author:
exi
Message:

Added Logout option to admin menu.
Autoupgrade now checks for index rather than just creating it.
Fixed that no system error for contracts during upgrade.
Added a warning to the installer in case it doesnt get any id on step5.

Location:
dev/install
Files:
2 modified

Legend:

Unmodified
Added
Removed
  • dev/install/install_step5.php

    r88 r95  
    150150{ 
    151151    return; 
    152 }?> 
     152} 
     153if ($_SESSION['sett']['aid'] == 0 && $_SESSION['sett']['aid'] == 0) 
     154{ 
     155    echo '<b>Warning:</b> It seems like i got no alliance and corpid, you can continue but you might have to edit it into the config yourself.<br/>'; 
     156} 
     157?> 
    153158<p><a href="?step=<?php echo ($_SESSION['state']+1); ?>">Next Step</a></p> 
  • dev/install/install_step7.php

    r88 r95  
    1010$config = preg_replace("/\{([^\}]+)\}/e", "\\1", join('', file('config.tpl'))); 
    1111$fp = fopen('../cache/config.php', 'w'); 
    12 fwrite($fp, $config); 
     12fwrite($fp, trim($config)); 
    1313fclose($fp); 
    1414?>