diff --git a/var/www/html/files.php b/var/www/html/files.php index 964771a..d164c5a 100644 --- a/var/www/html/files.php +++ b/var/www/html/files.php @@ -10,7 +10,7 @@ if(empty($_SESSION['sftp_pass'])){ exit; } $ssh=ssh2_connect('127.0.0.1') or die ('No Connection to SFTP server!'); -if(@!ssh2_auth_password($ssh, $user[system_account], $_SESSION['sftp_pass'])){ +if(@!ssh2_auth_password($ssh, $user['system_account'], $_SESSION['sftp_pass'])){ send_login(); exit; }