From 9e930e1c264cd89bc25a56795f70b840b67801a9 Mon Sep 17 00:00:00 2001 From: Stanislas Dolcini Date: Tue, 2 Oct 2018 22:57:29 +0200 Subject: [PATCH] Add comments --- code/web/public_php/login/r2_login.php | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/code/web/public_php/login/r2_login.php b/code/web/public_php/login/r2_login.php index 67eb935c6..6b3529cc4 100755 --- a/code/web/public_php/login/r2_login.php +++ b/code/web/public_php/login/r2_login.php @@ -27,6 +27,10 @@ if (!isset($_GET['cp'])) { } $submittedLang = isset($_GET['lg']) ? $_GET['lg'] : 'unknown'; +/** + * $DisplayDbg is used in login_translations.php + * @todo Make sure this is the best place to do it. + */ if (isset($_GET['dbg']) && ($_GET['dbg'] == 1)) { $DisplayDbg = true; } @@ -133,7 +137,7 @@ function err_callback($errno, $errmsg, $filename, $linenum, $vars) /** * @param string $login * The user login. - * @TODO: This should become the password. + * @todo: This should become the password. * @param string $password * The user's password. * @param string $clientApplication