Update of /cvsroot/easymod/easymod2/mods/easymod
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv14320/mods/easymod
Modified Files:
easymod_display_functions.php easymod_install.php
Log Message:
Implemented FTP Debug option in EM settings panel.
Index: easymod_display_functions.php
===================================================================
RCS file: /cvsroot/easymod/easymod2/mods/easymod/easymod_display_functions.php,v
retrieving revision 1.21
retrieving revision 1.22
diff -C2 -d -r1.21 -r1.22
*** easymod_display_functions.php 6 Nov 2005 13:30:51 -0000 1.21
--- easymod_display_functions.php 6 Nov 2005 15:13:05 -0000 1.22
***************
*** 243,248 ****
{
// test the ftp connection
! $test_result = test_ftp($ftp_user, $ftp_pass, $ftp_dir, $ftp_host, $ftp_port, true, $ftp_type, $ftp_cache, $test_report);
! echo implode("\n", $test_report);
if( $test_result )
{
--- 243,249 ----
{
// test the ftp connection
! $test_report = '';
! $test_result = capture_test_ftp($ftp_user, $ftp_pass, $ftp_dir, $ftp_host, $ftp_port, true, $ftp_type, $ftp_cache, $test_report);
! echo $test_report;
if( $test_result )
{
Index: easymod_install.php
===================================================================
RCS file: /cvsroot/easymod/easymod2/mods/easymod/easymod_install.php,v
retrieving revision 1.45
retrieving revision 1.46
diff -C2 -d -r1.45 -r1.46
*** easymod_install.php 6 Nov 2005 13:30:51 -0000 1.45
--- easymod_install.php 6 Nov 2005 15:13:05 -0000 1.46
***************
*** 552,557 ****
{
// test the FTP connection
! $test_result = test_ftp($ftp_user, $ftp_pass, $ftp_dir, $ftp_host, $ftp_port, $ftp_debug, $ftp_type, $ftp_cache, $test_report);
! echo implode("\n", $test_report);
if( !$test_result )
{
--- 552,558 ----
{
// test the FTP connection
! $test_report = '';
! $test_result = capture_test_ftp($ftp_user, $ftp_pass, $ftp_dir, $ftp_host, $ftp_port, $ftp_debug, $ftp_type, $ftp_cache, $test_report);
! echo $test_report;
if( !$test_result )
{
***************
*** 643,648 ****
{
// test the FTP connection
! $test_result = test_ftp($ftp_user, $ftp_pass, $ftp_dir, $ftp_host, $ftp_port, $ftp_debug, $ftp_type, $ftp_cache, $test_report);
! echo implode("\n", $test_report);
if( !$test_result )
{
--- 644,650 ----
{
// test the FTP connection
! $test_report = '';
! $test_result = capture_test_ftp($ftp_user, $ftp_pass, $ftp_dir, $ftp_host, $ftp_port, $ftp_debug, $ftp_type, $ftp_cache, $test_report);
! echo $test_report;
if( !$test_result )
{
|