FusionDirectory
 All Data Structures Files Functions Variables
variables_common.inc
Go to the documentation of this file.
1 <?php
2 /*
3  This code is part of FusionDirectory (http://www.fusiondirectory.org/)
4  Copyright (C) 2003-2010 Cajus Pollmeier
5  Copyright (C) 2011-2017 FusionDirectory
6 
7  This program is free software; you can redistribute it and/or modify
8  it under the terms of the GNU General Public License as published by
9  the Free Software Foundation; either version 2 of the License, or
10  (at your option) any later version.
11 
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.
16 
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., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA.
20 */
21 
27 /*
28  * \brief Allow setting the config file in the apache configuration
29  * e.g. SetEnv CONFIG_DIR /etc/fusiondirectory
30 */
31 if (isset($_SERVER['CONFIG_DIR'])) {
32  define ("CONFIG_DIR", $_SERVER['CONFIG_DIR']);
33 }
34 
35 /*
36  * \brief Allow setting the config file in the apache configuration
37  * e.g. SetEnv CONFIG_FILE fusiondirectory.conf 1.0
38  */
39 if (isset($_SERVER['CONFIG_FILE'])) {
40  define ("CONFIG_FILE", $_SERVER['CONFIG_FILE']);
41 }
42 
46 define ("PHP_DIR", "/usr/share/php");
51 define ("PEAR_DIR", "/usr/share/php");
56 define("FPDF", "/usr/share/php/fpdf/fpdf.php");
61 define("FPDF_FONTPATH", "/usr/share/php/fpdf/font/");
66 define ("FD_VERSION", "1.2.2");
71 define ("CONFIGRDN", "cn=config,ou=fusiondirectory,");
76 define ("PHP_MIN_VERSION", "5.4.0");
77 
81 define ('PHP_ERROR_FATAL', 'FALSE');
82 
83 ?>