Subversion Repositories Applications.papyrus

Compare Revisions

Ignore whitespace Rev 1040 → Rev 1041

/trunk/erreur_http.php
21,7 → 21,7
// | along with Foobar; if not, write to the Free Software |
// | Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
// +------------------------------------------------------------------------------------------------------+
// CVS : $Id: erreur_http.php,v 1.1 2006-10-18 10:18:05 jp_milcent Exp $
// CVS : $Id: erreur_http.php,v 1.2 2006-10-26 16:29:52 jp_milcent Exp $
/**
* Gestion des erreurs HTTP
*
33,7 → 33,7
//Autres auteurs :
*@author Aucun
*@copyright Tela-Botanica 2000-2005
*@version $Revision: 1.1 $ $Date: 2006-10-18 10:18:05 $
*@version $Revision: 1.2 $ $Date: 2006-10-26 16:29:52 $
// +------------------------------------------------------------------------------------------------------+
*/
 
81,7 → 81,7
// Redirection vers le fichier erreur de Papyrus s'il existe
$fichier_erreur = sprintf(PAP_FICHIER_ERREUR_HTTP, $i18n, $_GET['erreur']);
if (file_exists($fichier_erreur)) {
header ('Location: '.sprintf(PAP_URL_ERREUR_HTTP, $chemin_papyrus, $i18n, $_GET['erreur'], $_SERVER['REQUEST_URI']));
header ('Location: '.sprintf(PAP_URL_ERREUR_HTTP, $i18n, $_GET['erreur'], $_SERVER['REQUEST_URI']));
} else {
echo 'ERREUR Papyrus : Impossible de trouver le fichier de l\'erreur '.$_GET['erreur'].'<br />'.
'Chemin fichier erreur : '.$fichier_erreur.' <br />'.
94,6 → 94,9
/* +--Fin du code ----------------------------------------------------------------------------------------+
*
* $Log: not supported by cvs2svn $
* Revision 1.1 2006/10/18 10:18:05 jp_milcent
* Gestion des erreurs HTTP par Papyrus.
*
* Revision 1.5 2006/10/18 09:27:32 jp_milcent
* Gestion des erreurs 404 uniquement.
*