Current time: 05-03-2024, 12:54 PM Hello There, Guest! (LoginRegister)


Post Reply 
Little beauty fix.
Author Message
Arawn Offline
Newbie
*

Posts: 6
Joined: May 2009
Reputation: 0
Post: #1
Little beauty fix.
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
05-30-2009 06:35 AM
Find all posts by this user Quote this message in a reply
Post Reply 


Messages In This Thread
Little beauty fix. - Arawn - 05-30-2009 06:35 AM
RE: Little beauty fix. - gOOvER - 05-30-2009, 08:20 AM
RE: Little beauty fix. - tomdooley - 05-30-2009, 11:42 PM
RE: Little beauty fix. - BeNe - 05-31-2009, 06:59 AM
RE: Little beauty fix. - Arawn - 06-02-2009, 01:49 AM

Forum Jump:


User(s) browsing this thread: 1 Guest(s)