diff --git a/code/web/public_php/login/r2_login.php b/code/web/public_php/login/r2_login.php index 0a38e4e88..936b3209a 100755 --- a/code/web/public_php/login/r2_login.php +++ b/code/web/public_php/login/r2_login.php @@ -26,7 +26,11 @@ if (isset($_GET['dbg']) && ($_GET['dbg'] == 1)) { $DisplayDbg = true; } +// Create a command object using the user's parameters. $nel_command = new NelCommand($_GET); +// Create a connexion handler to process that command. $connection_handler = new ConnectionHandler(); +// Connect the connection handler to the database. $connection_handler->connect($DBHost, $DBUserName, $DBPassword, $DBName); +// Process the command sent by the user. $connection_handler->process_command($nel_command);