Show
Ignore:
Timestamp:
12/05/07 20:53:40 (15 years ago)
Author:
exi
Message:

Merging 242:253 branch into dev

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • dev/install/install_step3.php

    r168 r254  
    11<?php 
    22$stoppage = true; 
     3 
    34if ($_REQUEST['submit']) 
    45{ 
     
    1415    $host = 'localhost'; 
    1516} 
     17if (file_exists('../config.php')) 
     18{ 
     19    echo '<div class="block-header2">Found old config</div>'; 
     20    echo 'We will just reuse the data and create a new one.<br/>'; 
     21    include_once('../config.php'); 
     22    $_SESSION['sql'] = array(); 
     23    $_SESSION['sql']['host'] = DB_HOST; 
     24    $_SESSION['sql']['user'] = DB_USER; 
     25    $_SESSION['sql']['pass'] = DB_PASS; 
     26    $_SESSION['sql']['db'] = DB_NAME; 
     27} 
     28else 
     29{ 
    1630?> 
    1731<form id="options" name="options" method="post" action="?step=3"> 
     
    2539<tr><td width="120"></td><td><input type=submit name=submit value="Test"></td></tr> 
    2640</table> 
     41<?php 
     42} 
    2743 
    28 <?php 
    2944if ($_SESSION['sql']['db']) 
    3045{