Current time: 12-28-2024, 09:35 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
gOOvER Offline
Banned

Posts: 3,561
Joined: Jul 2007
Post: #2
RE: Little beauty fix.
Thanks for this, but can you write a Tiket to put it into the Trunk??
05-30-2009 08:20 AM
Visit this user's website Find all posts by this user Quote this message in a reply
tomdooley Offline
Development Team
*****
Dev Team

Posts: 332
Joined: Sep 2007
Reputation: 7
Post: #3
RE: Little beauty fix.
Not necessary, I will commit the changes. Thank you!
05-30-2009 11:42 PM
Visit this user's website Find all posts by this user Quote this message in a reply
BeNe Offline
Moderator
*****
Moderators

Posts: 5,899
Joined: Jan 2007
Reputation: 68
Post: #4
RE: Little beauty fix.
Thanks @tomdooley for the fix in the trunk!
--> http://www.isp-control.net/ispcp/changeset/1822

Greez BeNe
05-31-2009 06:59 AM
Visit this user's website Find all posts by this user Quote this message in a reply
Arawn Offline
Newbie
*

Posts: 6
Joined: May 2009
Reputation: 0
Post: #5
RE: Little beauty fix.
Thanks for commiting Wink Next time I will create a ticket for it Wink
06-02-2009 01:49 AM
Find all posts by this user Quote this message in a reply
Post Reply 


Forum Jump:


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