[SPIP] ~2.1.12 -->2.1.25
[velocampus/web/www.git] / www / spip.php
1 <?php
2
3 /***************************************************************************\
4 * SPIP, Systeme de publication pour l'internet *
5 * *
6 * Copyright (c) 2001-2014 *
7 * Arnaud Martin, Antoine Pitrou, Philippe Riviere, Emmanuel Saint-James *
8 * *
9 * Ce programme est un logiciel libre distribue sous licence GNU/GPL. *
10 * Pour plus de details voir le fichier COPYING.txt ou l'aide en ligne. *
11 \***************************************************************************/
12
13 # ou est l'espace prive ?
14 if (!defined('_DIR_RESTREINT_ABS')) define('_DIR_RESTREINT_ABS', 'ecrire/');
15 include_once _DIR_RESTREINT_ABS.'inc_version.php';
16
17 # rediriger les anciens URLs de la forme page.php3fond=xxx
18 if (isset($_GET['fond'])) {
19 include_spip('inc/headers');
20 redirige_par_entete(generer_url_public($_GET['fond']));
21 }
22
23 # au travail...
24 include _DIR_RESTREINT_ABS.'public.php';
25
26 ?>