ispCP - Board - Support
Little beauty fix. - Printable Version

+- ispCP - Board - Support (http://www.isp-control.net/forum)
+-- Forum: ispCP Omega Development Area (/forum-1.html)
+--- Forum: Suggestions (/forum-2.html)
+--- Thread: Little beauty fix. (/thread-6839.html)



Little beauty fix. - Arawn - 05-30-2009 06:35 AM

gui/tools/filemanager/includes/filesystem.inc.php
Line 61:
Code:
    $login_result = ftp_login($conn_id, $net2ftp_globals["username"], $ne
Please change to:
Code:
    $login_result = @ftp_login($conn_id, $net2ftp_globals["username"], $ne



Line 129:
Code:
    $login_result = ftp_login($conn_id, $net2ftp_globals["username2"], $net2ftp_globals["password2"]);
Please change to:
Code:
    $login_result = @ftp_login($conn_id, $net2ftp_globals["username2"], $net2ftp_globals["password2"]);



This wil hide the ugly error when you entered a wrong user/pass combination in the filemanager. (I added the @ before the ftp_login function.)

Best Regards,
Arawn


RE: Little beauty fix. - gOOvER - 05-30-2009 08:20 AM

Thanks for this, but can you write a Tiket to put it into the Trunk??


RE: Little beauty fix. - tomdooley - 05-30-2009 11:42 PM

Not necessary, I will commit the changes. Thank you!


RE: Little beauty fix. - BeNe - 05-31-2009 06:59 AM

Thanks @tomdooley for the fix in the trunk!
--> http://www.isp-control.net/ispcp/changeset/1822

Greez BeNe


RE: Little beauty fix. - Arawn - 06-02-2009 01:49 AM

Thanks for commiting Wink Next time I will create a ticket for it Wink