Changeset 1761 for trunk/setup.php
- Timestamp:
- 09/30/2008 04:00:27 PM (3 months ago)
- Files:
-
- 1 modified
-
trunk/setup.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/setup.php
r1736 r1761 56 56 57 57 if($_POST) { 58 $setup-> get_userdata(strip($_POST));58 $setup->importDataByArray(strip($_POST)); 59 59 60 60 // validate user entry 61 61 if(count($errors = $setup->validate()) == 0) { 62 define("JLOG_BASEPATH", $setup-> put_data('basepath'));62 define("JLOG_BASEPATH", $setup->getValue('jlog_basepath')); 63 63 if(is_writable(JLOG_BASEPATH.'personal'.DIRECTORY_SEPARATOR)) { 64 64 $c .= "<ul>\n"; 65 65 66 66 // 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) { 68 68 $c .= "<li>".$l['admin']['s_tables_ok']."</li>\n"; 69 69 … … 96 96 if(empty($errors)) { 97 97 // output form 98 $setup-> get_sugestiondata();98 $setup->importSuggestedData(); 99 99 $c .= $setup->form_output(); 100 100 }
