3 * Fichier de configuration
7 * LODEL - Logiciel d'Edition ELectronique.
9 * Copyright (c) 2001-2002, Ghislain Picard, Marin Dacos
10 * Copyright (c) 2003, Ghislain Picard, Marin Dacos, Luc Santeramo, Nicolas Nutten, Anne Gentil-Beccot
11 * Copyright (c) 2004, Ghislain Picard, Marin Dacos, Luc Santeramo, Anne Gentil-Beccot, Bruno Cénou
12 * Copyright (c) 2005, Ghislain Picard, Marin Dacos, Luc Santeramo, Gautier Poupeau, Jean Lamy, Bruno Cénou
13 * Copyright (c) 2006, Marin Dacos, Luc Santeramo, Bruno Cénou, Jean Lamy, Mikaël Cixous, Sophie Malafosse
14 * Copyright (c) 2007, Marin Dacos, Bruno Cénou, Sophie Malafosse, Pierre-Alain Mignot
15 * Copyright (c) 2008, Marin Dacos, Bruno Cénou, Pierre-Alain Mignot, Inès Secondat de Montesquieu, Jean-François Rivière
16 * Copyright (c) 2009, Marin Dacos, Bruno Cénou, Pierre-Alain Mignot, Inès Secondat de Montesquieu, Jean-François Rivière
18 * Home page: http://www.lodel.org
20 * E-Mail: lodel@lodel.org
24 * This program is free software; you can redistribute it and/or modify
25 * it under the terms of the GNU General Public License as published by
26 * the Free Software Foundation; either version 2 of the License, or
27 * (at your option) any later version.
29 * This program is distributed in the hope that it will be useful,
30 * but WITHOUT ANY WARRANTY; without even the implied warranty of
31 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
32 * GNU General Public License for more details.
34 * You should have received a copy of the GNU General Public License
35 * along with this program; if not, write to the Free Software
36 * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
38 * @author Ghislain Picard
40 * @copyright 2001-2002, Ghislain Picard, Marin Dacos
41 * @copyright 2003, Ghislain Picard, Marin Dacos, Luc Santeramo, Nicolas Nutten, Anne Gentil-Beccot
42 * @copyright 2004, Ghislain Picard, Marin Dacos, Luc Santeramo, Anne Gentil-Beccot, Bruno Cénou
43 * @copyright 2005, Ghislain Picard, Marin Dacos, Luc Santeramo, Gautier Poupeau, Jean Lamy, Bruno Cénou
44 * @copyright 2006, Marin Dacos, Luc Santeramo, Bruno Cénou, Jean Lamy, Mikaël Cixous, Sophie Malafosse
45 * @copyright 2007, Marin Dacos, Bruno Cénou, Sophie Malafosse, Pierre-Alain Mignot
46 * @copyright 2008, Marin Dacos, Bruno Cénou, Pierre-Alain Mignot, Inès Secondat de Montesquieu, Jean-François Rivière
47 * @copyright 2009, Marin Dacos, Bruno Cénou, Pierre-Alain Mignot, Inès Secondat de Montesquieu, Jean-François Rivière
48 * @licence http://www.gnu.org/copyleft/gpl.html
50 * @package lodel/source
54 require 'lodelconfig.php';
56 $cfg['site'] = "principal";
58 ##########################################
60 $cfg['versionsuffix'] = "-".$cfg['version']; # versioning
62 if (!defined("SITEROOT")) {
63 define("SITEROOT","");
66 $cfg['home'] = "lodel{$cfg['versionsuffix']}/scripts/";
68 $cfg['sharedir'] = SITEROOT
. $cfg['sharedir'].$cfg['versionsuffix'];
69 $cfg['shareurl'] .= $cfg['versionsuffix'];
71 # recaptcha pour la partie signaler
72 # par défaut désactivé
73 $cfg['signaler_recaptcha'] = false
;
74 $cfg['recaptcha_privatekey'] = ""; // clé privée recaptcha
75 $cfg['recaptcha_publickey'] = ""; // clé publique recaptcha
77 $cfg['searchEngine'] = false
;
79 ini_set('include_path', SITEROOT
. $cfg['home']. PATH_SEPARATOR
. ini_get('include_path'));
81 // when this file is included, we are ALWAYS in the site root, so don't concat $home !!
82 require $cfg['home'].'context.php';
84 $cfg['home'] = SITEROOT
. $cfg['home'];
86 require $home.'class.errors.php';