[Easymod-cvs] easymod2/mods/easymod easymod_install.php,1.37,1.38
Status: Beta
Brought to you by:
wgeric
From: Markus P. <mar...@us...> - 2005-11-05 12:53:03
|
Update of /cvsroot/easymod/easymod2/mods/easymod In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv6111/mods/easymod Modified Files: easymod_install.php Log Message: Chmod to 777 instead of 755 inside ftp_mkdir method. Changed the FTP method function so it can be invoked from the EM settings panel. =:-O Fixed semi-colons in language file. Index: easymod_install.php =================================================================== RCS file: /cvsroot/easymod/easymod2/mods/easymod/easymod_install.php,v retrieving revision 1.37 retrieving revision 1.38 diff -C2 -d -r1.37 -r1.38 *** easymod_install.php 5 Nov 2005 00:30:52 -0000 1.37 --- easymod_install.php 5 Nov 2005 12:52:50 -0000 1.38 *************** *** 529,533 **** { // test the FTP connection ! if (!test_ftp( $ftp_user, $ftp_pass, $ftp_dir, $ftp_host, $ftp_port, $ftp_debug, $ftp_type, $ftp_cache)) { // FTP failed; print RESCAN button and then exit --- 529,535 ---- { // 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 ) { // FTP failed; print RESCAN button and then exit *************** *** 618,622 **** { // test the FTP connection ! if (!test_ftp( $ftp_user, $ftp_pass, $ftp_dir, $ftp_host, $ftp_port, $ftp_debug, $ftp_type, $ftp_cache)) { // FTP failed; print RESCAN button and then exit --- 620,626 ---- { // 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 ) { // FTP failed; print RESCAN button and then exit |