[Easymod-cvs] easymod/install em_install.php,1.4,1.5
Status: Beta
Brought to you by:
wgeric
|
From: Eric F. <wg...@us...> - 2005-12-25 20:48:46
|
Update of /cvsroot/easymod/easymod/install In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv18079 Modified Files: em_install.php Log Message: /me is a n00b Index: em_install.php =================================================================== RCS file: /cvsroot/easymod/easymod/install/em_install.php,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** em_install.php 24 Dec 2005 01:43:42 -0000 1.4 --- em_install.php 25 Dec 2005 20:48:37 -0000 1.5 *************** *** 105,114 **** $sel_method = request_var('method', ( !empty($board_config['em_method']) ) ? $board_config['em_method'] : ''); $board_config['em_tmp_path'] = $tmp_path = request_var('tmp_path', ''); ! $board_config['em_ftp_host'] = $ftp_host = request_var('ftp_host', ''); $board_config['em_ftp_port'] = $ftp_port = request_var('ftp_port', 21); ! $board_config['em_ftp_timeout'] = $ftp_timeout = request_var('ftp_timeout', 10); $board_config['em_ftp_username'] = $ftp_username = request_var('ftp_username', ''); $board_config['em_ftp_password'] = $ftp_password = request_var('ftp_password', ''); ! $board_config['em_ftp_root_path'] = $ftp_root_path = request_var('ftp_root_path', ''); if ( $step == 2 ) --- 105,114 ---- $sel_method = request_var('method', ( !empty($board_config['em_method']) ) ? $board_config['em_method'] : ''); $board_config['em_tmp_path'] = $tmp_path = request_var('tmp_path', ''); ! $board_config['em_ftp_host'] = $ftp_host = request_var('ftp_host', 'localhost'); $board_config['em_ftp_port'] = $ftp_port = request_var('ftp_port', 21); ! $board_config['em_ftp_timeout'] = $ftp_timeout = request_var('ftp_timeout', 10); $board_config['em_ftp_username'] = $ftp_username = request_var('ftp_username', ''); $board_config['em_ftp_password'] = $ftp_password = request_var('ftp_password', ''); ! $board_config['em_ftp_root_path'] = $ftp_root_path = request_var('ftp_root_path', implode('/', array_slice(explode('/', $HTTP_SERVER_VARS['SCRIPT_FILENAME']), 0, -2))); if ( $step == 2 ) *************** *** 586,594 **** <tr> <td class="row1"><span class="gen">Host</span></td> ! <td class="row1"><span class="gen"><input type="text" name="ftp_host" class="post" /></span></td> </tr> <tr> <td class="row1"><span class="gen">Path to phpBB</span></td> ! <td class="row1"><span class="gen"><input type="text" name="ftp_root_path" class="post" /></span></td> </tr> <tr> --- 586,594 ---- <tr> <td class="row1"><span class="gen">Host</span></td> ! <td class="row1"><span class="gen"><input type="text" name="ftp_host" value="<?php echo $ftp_host; ?>" class="post" /></span></td> </tr> <tr> <td class="row1"><span class="gen">Path to phpBB</span></td> ! <td class="row1"><span class="gen"><input type="text" name="ftp_root_path" value="<?php echo $ftp_root_path; ?>" class="post" /></span></td> </tr> <tr> |