Файловый менеджер - Редактировать - /home/bourgleram/www/ecrire/action/auth.php
Назад
<?php /***************************************************************************\ * SPIP, Systeme de publication pour l'internet * * * * Copyright (c) 2001-2016 * * Arnaud Martin, Antoine Pitrou, Philippe Riviere, Emmanuel Saint-James * * * * Ce programme est un logiciel libre distribue sous licence GNU/GPL. * * Pour plus de details voir le fichier COPYING.txt ou l'aide en ligne. * \***************************************************************************/ if (!defined('_ECRIRE_INC_VERSION')) return; /** * Retour d'authentification pour les SSO */ function action_auth_dist() { $securiser_action = charger_fonction('securiser_action', 'inc'); $arg = $securiser_action(); if (!preg_match(",^(\w+)[/](.+)$,", $arg, $r)) { spip_log("action_auth_dist $arg pas compris"); } else { $auth_methode = $r[1]; $login = $r[2]; include_spip('inc/auth'); $res = auth_terminer_identifier_login($auth_methode, $login); if (is_string($res)){ // Erreur $redirect = _request('redirect'); $redirect = parametre_url($redirect,'var_erreur',$res,'&'); include_spip('inc/headers'); redirige_par_entete($redirect); } // sinon on loge l'auteur identifie, et on finit (redirection automatique) auth_loger($res); } } ?>
| ver. 1.4 |
Github
|
.
| PHP 5.6.40 | Генерация страницы: 0.01 |
proxy
|
phpinfo
|
Настройка