From: <cl...@us...> - 2004-10-02 01:24:08
|
Update of /cvsroot/phpicalendar/phpicalendar/functions In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv18923/functions Modified Files: admin_functions.php Log Message: Admin adds. Index: admin_functions.php =================================================================== RCS file: /cvsroot/phpicalendar/phpicalendar/functions/admin_functions.php,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** admin_functions.php 1 Oct 2004 23:34:08 -0000 1.5 --- admin_functions.php 2 Oct 2004 01:23:53 -0000 1.6 *************** *** 52,56 **** // set up basic connection $conn_id = @ftp_connect($ftp_server); ! // login with username and password $login_result = @ftp_login($conn_id, $username, $password); --- 52,56 ---- // set up basic connection $conn_id = @ftp_connect($ftp_server); ! if (!$conn_id) exit(error('Cannot connect to FTP server', $filename)); // login with username and password $login_result = @ftp_login($conn_id, $username, $password); |