Subversion Repositories Applications.wikini

Rev

Rev 27 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 27 Rev 46
Line 1... Line 1...
1
<?php
1
<?php
2
// declare(encoding='UTF-8');
2
// declare(encoding='ISO-8859-1');
3
/**
3
/**
4
 * Handler renvoyant au navigateur le contenu HTML de la page wiki avec un type mime text/plain.
4
 * Handler renvoyant au navigateur le contenu HTML de la page wiki avec un type mime text/plain.
5
 * 
5
 *
6
 * @category	PHP 5.2
6
 * @category	PHP 5.2
7
 * @package		Framework
7
 * @package		Framework
8
 * @author		Jean-Pascal MILCENT <jpm@tela-botanica.org>
8
 * @author		Jean-Pascal MILCENT <jpm@tela-botanica.org>
9
 * @copyright	Copyright (c) 2009, Tela Botanica (accueil@tela-botanica.org)
9
 * @copyright	Copyright (c) 2009, Tela Botanica (accueil@tela-botanica.org)
10
 * @license		http://www.gnu.org/licenses/gpl.html Licence GNU-GPL-v3
10
 * @license		http://www.gnu.org/licenses/gpl.html Licence GNU-GPL-v3
11
 * @license		http://www.cecill.info/licences/Licence_CeCILL_V2-fr.txt Licence CECILL-v2 
11
 * @license		http://www.cecill.info/licences/Licence_CeCILL_V2-fr.txt Licence CECILL-v2
12
 * @version		$Id$
12
 * @version		$Id$
13
 */
13
 */
Line 14... Line 14...
14
 
14
 
15
 
15
 
16
//Vérification de sécurité
16
//Vérification de sécurité
17
if (!eregi("wakka.php", $_SERVER['PHP_SELF'])) {
17
if (!eregi("wakka.php", $_SERVER['PHP_SELF'])) {
Line 18... Line 18...
18
    die ("Acc&eacute;s direct interdit");
18
    die ("Acc&eacute;s direct interdit");