FTM2S Disable Login

Place for comments, problems, questions, or any issue related to the JavaScript / PHP scripts from this site.
justanumber
Posts: 13

FTM2S Disable Login

Really like the simplicity of FTM2S: coursesweb.net/php-mysql/ftm2s-file-transfer-manager-two-servers

Since using on a closed network and not worried about anyone else logging in, is any simple way to disable local login?

Think just logging into remote FTP enough security for me:)

Thanks much,

Woody

Admin Posts: 805
Hello,
If you want to disable the admin login in the FTM2S application, just add the following code to the end of the config.php file:

Code: Select all

$_SESSION['adminlog'] = $admin['user'].$admin['pass'];

justanumber Posts: 13
Excellent! Works great, thank you.