Changeset 1761 for trunk/setup.php

Show
Ignore:
Timestamp:
09/30/2008 04:00:27 PM (3 months ago)
Author:
driehle
Message:

Draft for #199 and #201

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/setup.php

    r1736 r1761  
    5656 
    5757 if($_POST) { 
    58   $setup->get_userdata(strip($_POST)); 
     58  $setup->importDataByArray(strip($_POST)); 
    5959 
    6060  // validate user entry 
    6161  if(count($errors = $setup->validate()) == 0) { 
    62    define("JLOG_BASEPATH", $setup->put_data('basepath')); 
     62   define("JLOG_BASEPATH", $setup->getValue('jlog_basepath')); 
    6363   if(is_writable(JLOG_BASEPATH.'personal'.DIRECTORY_SEPARATOR)) { 
    6464     $c .= "<ul>\n"; 
    6565      
    6666     // build some MySQL tables 
    67      if(count($errors = create_mysql_tables($setup->put_data(false))) == 0) { 
     67     if(count($errors = create_mysql_tables($setup->getValue(false))) == 0) { 
    6868      $c .= "<li>".$l['admin']['s_tables_ok']."</li>\n"; 
    6969 
     
    9696  if(empty($errors)) { 
    9797   // output form 
    98    $setup->get_sugestiondata(); 
     98   $setup->importSuggestedData(); 
    9999   $c .= $setup->form_output(); 
    100100  }