Subversion Repositories Applications.wikini

Rev

Rev 23 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 23 Rev 27
Line 1... Line 1...
1
<?php
1
<?php
-
 
2
// declare(encoding='UTF-8');
2
/*
3
/**
3
raw_html_txt.php
-
 
4
Copyright 2010  Jean-Pascal MILCENT
4
 * Handler renvoyant au navigateur le contenu HTML de la page wiki avec un type mime text/plain.
-
 
5
 * 
5
Copyright 2002  David DELON
6
 * @category	PHP 5.2
6
Copyright 2003  Eric FELDSTEIN
7
 * @package		Framework
7
Copyright 2003  Charles NEPOTE
8
 * @author		Jean-Pascal MILCENT <jpm@tela-botanica.org>
8
This program is free software; you can redistribute it and/or modify
9
 * @copyright	Copyright (c) 2009, Tela Botanica (accueil@tela-botanica.org)
9
it under the terms of the GNU General Public License as published by
10
 * @license		http://www.gnu.org/licenses/gpl.html Licence GNU-GPL-v3
10
the Free Software Foundation; either version 2 of the License, or
11
 * @license		http://www.cecill.info/licences/Licence_CeCILL_V2-fr.txt Licence CECILL-v2 
11
(at your option) any later version.
12
 * @version		$Id$
-
 
13
 */
Line 12... Line -...
12
 
-
 
13
This program is distributed in the hope that it will be useful,
-
 
14
but WITHOUT ANY WARRANTY; without even the implied warranty of
-
 
15
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-
 
Line 16... Line -...
16
GNU General Public License for more details.
-
 
17
 
-
 
18
You should have received a copy of the GNU General Public License
-
 
19
along with this program; if not, write to the Free Software
-
 
20
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
-
 
21
*/
14
 
22
 
15
 
23
//vérification de sécurité
16
//Vérification de sécurité
24
if (!eregi("wakka.php", $_SERVER['PHP_SELF'])) {
17
if (!eregi("wakka.php", $_SERVER['PHP_SELF'])) {
Line 25... Line 18...
25
    die ("Accés direct interdit");
18
    die ("Acc&eacute;s direct interdit");
26
}
19
}
27
 
20