2 /*******************************************************************************
3 * Copyright (C) 2007 Easter-eggs
4 * http://ldapsaisie.labs.libre-entreprise.org
6 * Author: See AUTHORS file in top-level directory.
8 * This program is free software; you can redistribute it and/or
9 * modify it under the terms of the GNU General Public License version 2
10 * as published by the Free Software Foundation.
12 * This program is distributed in the hope that it will be useful,
13 * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 * GNU General Public License for more details.
17 * You should have received a copy of the GNU General Public License
18 * along with this program; if not, write to the Free Software
19 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
21 ******************************************************************************/
24 ini_set( 'magic_quotes_gpc', 'off' );
25 ini_set( 'magic_quotes_sybase', 'off' );
26 ini_set( 'magic_quotes_runtime', 'off' );
28 // Définitions des dossiers d'inclusions
29 define('LS_CONF_DIR','conf/');
30 define('LS_OBJECTS_DIR', LS_CONF_DIR . 'LSobjects/');
31 define('LS_INCLUDE_DIR','includes/');
32 define('LS_CLASS_DIR', LS_INCLUDE_DIR .'class/');
33 define('LS_LIB_DIR', LS_INCLUDE_DIR .'libs/');
34 define('LS_ADDONS_DIR', LS_INCLUDE_DIR .'addons/');
35 define('LS_JS_DIR', LS_INCLUDE_DIR .'js/');
36 define('LS_TMP_DIR', 'tmp/');
39 define('LS_TEXT_DOMAIN', 'ldapsaisie');
40 define('LS_I18N_DIR', 'lang');
42 require_once LS_INCLUDE_DIR.'functions.php';
44 require_once LS_CLASS_DIR.'class.LSsession.php';