[Phpslash-commit] CVS: phpslash-dev/public_html config_setup.php,1.10,1.11
Brought to you by:
joestewart,
nhruby
From: Joe S. <joe...@us...> - 2004-10-19 21:41:28
|
Update of /cvsroot/phpslash/phpslash-dev/public_html In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv31546/phpslash-dev/public_html Modified Files: config_setup.php Log Message: split slash-all.sql into psl_core and psl_example Index: config_setup.php =================================================================== RCS file: /cvsroot/phpslash/phpslash-dev/public_html/config_setup.php,v retrieving revision 1.10 retrieving revision 1.11 diff -C2 -d -r1.10 -r1.11 *** config_setup.php 9 Sep 2004 18:59:36 -0000 1.10 --- config_setup.php 19 Oct 2004 21:41:19 -0000 1.11 *************** *** 45,49 **** define('CONFIG_OUT', 'config.ini.php'); // Name of the target config file. ! define('TABLE_PATH', '/tables/0.8/slash-all.sql'); // Path to the sql table directory. /* Return values for the verification functions. These get binary or'd so --- 45,51 ---- define('CONFIG_OUT', 'config.ini.php'); // Name of the target config file. ! define('TABLE_PATH', '/tables/0.8/'); // Path to the sql table directory. ! define('TABLE_CORE', 'psl_core.sql'); // sql required data. ! define('TABLE_SAMPLE', 'psl_example.sql'); // sql example data. /* Return values for the verification functions. These get binary or'd so *************** *** 764,770 **** <!-- DB table location --> <tr class="setVal" valign="top"> ! <td class="name">Database schema file</td> ! <td class="field"><input type="text" name="user[table_filepath]" value="<?php print _guessTABLE_PATH() ?>"><br> ! Path to the database schema file. Usually ends with .sql </td> </tr> --- 766,772 ---- <!-- DB table location --> <tr class="setVal" valign="top"> ! <td class="name">Database schema directory</td> ! <td class="field"><input type="text" name="user[table_path]" value="<?php print _guessTABLE_PATH() ?>"><br> ! Path to the directory containing the database schema files. </td> </tr> *************** *** 772,776 **** </table> </td> ! </td> </table> <? if(!$result) { --- 774,797 ---- </table> </td> ! </tr> ! <tr class="banner"> ! <td>Additional Data to install</td> ! </td> ! ! <tr> ! <td> ! <p>Do you wish to include sample information? This information shows ! off the capabilities of <?php print PRODUCT;?>, and is recommended to users ! who are evaluating <?php print PRODUCT;?>.</p> ! ! <div align="center"> ! <label> ! <input type="checkbox" name="includeSample" /> ! Yes, include sample data ! </label> ! </div> ! </td> ! </tr> ! </table> <? if(!$result) { *************** *** 953,958 **** /* Run the SQL scripts. */ $files = array( ! // $vars['dir.include'] . TABLE_PATH . 'slash-all.sql' ! $user['table_filepath'] // , // TABLE_PATH . 'BE_core.sql', --- 974,979 ---- /* Run the SQL scripts. */ $files = array( ! // $vars['dir.include'] . TABLE_PATH . 'psl_core.sql' ! $user['table_path'] . '/' . TABLE_CORE // , // TABLE_PATH . 'BE_core.sql', *************** *** 961,965 **** if (isset($_POST['includeSample'])) { ! // $files[] = TABLE_PATH . 'BE_exampleData.sql'; } --- 982,986 ---- if (isset($_POST['includeSample'])) { ! $files[] = $user['table_path'] . '/' . TABLE_SAMPLE; } |