Skip to content
Extraits de code Groupes Projets
Valider 6e7d7e87 rédigé par esj's avatar esj
Parcourir les fichiers

exit() superflus après ask_php_auth, il en fait un

parent f9e44499
Aucune branche associée trouvée
Aucune étiquette associée trouvée
Aucune requête de fusion associée trouvée
......@@ -45,7 +45,6 @@ function action_logout_dist()
"redirect=". _DIR_RESTREINT_ABS,
_T('login_test_navigateur'),
true);
exit;
}
}
}
......
......@@ -323,9 +323,6 @@ function auth_http($url) {
"url=".rawurlencode($url),
_T('login_nouvelle_tentative'),
(strpos($url,_DIR_RESTREINT_ABS)!==false));
exit;
}
}
?>
......@@ -28,18 +28,16 @@ function controler_forum_abo($retour)
{
global $auteur_session;
if ($auteur_session) {
$statut = $auteur_session['statut'];
if (!$statut OR $statut == '5poubelle') {
ask_php_auth(_T('forum_acces_refuse'),
_T('forum_cliquer_retour',
$statut = $auteur_session['statut'];
if (!$statut OR $statut == '5poubelle') {
ask_php_auth(_T('forum_acces_refuse'),
_T('forum_cliquer_retour',
array('retour_forum' => $retour)));
exit;
}
}
} else {
ask_php_auth(_T('forum_non_inscrit'),
_T('forum_cliquer_retour',
ask_php_auth(_T('forum_non_inscrit'),
_T('forum_cliquer_retour',
array('retour_forum' => $retour)));
exit;
}
}
......@@ -128,7 +126,6 @@ function inc_forum_insert_dist() {
ask_php_auth(_T('forum_message_trop_long'),
_T('forum_cliquer_retour',
array('retour_forum' => $retour_forum)));
exit;
}
// Verifier hash securite pour les forums avec previsu
......
0% Chargement en cours ou .
You are about to add 0 people to the discussion. Proceed with caution.
Veuillez vous inscrire ou vous pour commenter