Skip to content
GitLab
Explore
Projects
Groups
Topics
Snippets
Projects
Groups
Topics
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
fusiondirectory
fusiondirectory
Commits
2e82aa4a
Commit
2e82aa4a
authored
13 years ago
by
Benoit Mortier
Browse files
Options
Download
Patches
Plain Diff
added doxygen doc
parent
d766f000
dev
6342-update-the-locales-for-1-5
6344-template-issue-when-creating-a-template-with-empty-password-error-message-should-not-be-seen
6365-core-locking-mechanism-is-not-changing-the-mail-ressource-it-does-lock-the-mail-account
6365-core-when-lock-mechanism-is-trigger-the-user-should-not-be-editable-if-not-unlock
6378-orcid-test-method-is-wrong-and-break-orcid-saving
core-php8
master
fusiondirectory-1.5
fusiondirectory-1.4
fusiondirectory-1.3.1
fusiondirectory-1.3
fusiondirectory-1.2.3
fusiondirectory-1.2.2
fusiondirectory-1.2.1
fusiondirectory-1.2
fusiondirectory-1.1.1
fusiondirectory-1.1
fusiondirectory-1.0.20
fusiondirectory-1.0.19
fusiondirectory-1.0.18
fusiondirectory-1.0.17
fusiondirectory-1.0.16
fusiondirectory-1.0.15
fusiondirectory-1.0.14
fusiondirectory-1.0.13
fusiondirectory-1.0.12
fusiondirectory-1.0.11
fusiondirectory-1.0.10
fusiondirectory-1.0.9.3
fusiondirectory-1.0.9.2
fusiondirectory-1.0.9.1
fusiondirectory-1.0.9
fusiondirectory-1.0.8.9
fusiondirectory-1.0.8.8
fusiondirectory-1.0.8.7
fusiondirectory-1.0.8.6
fusiondirectory-1.0.8.5
fusiondirectory-1.0.8.4
fusiondirectory-1.0.8.3
fusiondirectory-1.0.8.2
fusiondirectory-1.0.8.1
fusiondirectory-1.0.8
fusiondirectory-1.0.7.5
fusiondirectory-1.0.7.4
fusiondirectory-1.0.7.3
fusiondirectory-1.0.7.2
fusiondirectory-1.0.7.1
fusiondirectory-1.0.7
fusiondirectory-1.0.6
fusiondirectory-1.0.5
fusiondirectory-1.0.4
fusiondirectory-1.0.3
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
include/variables.inc
+20
-19
include/variables.inc
with
20 additions
and
19 deletions
+20
-19
include/variables.inc
+
20
−
19
View file @
2e82aa4a
...
@@ -20,13 +20,14 @@
...
@@ -20,13 +20,14 @@
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA.
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA.
*/
*/
/* Define common locations and variables */
/*! \file
* Define common locations and variables */
/* Allow setting the config file in the apache configuration
/* Allow setting the config file in the apache configuration
e.g. SetEnv CONFIG_DIR /etc/fusiondirectory
e.g. SetEnv CONFIG_DIR /etc/fusiondirectory
*/
*/
if
(
!
isset
(
$_SERVER
[
'CONFIG_DIR'
])){
if
(
!
isset
(
$_SERVER
[
'CONFIG_DIR'
])){
define
(
"CONFIG_DIR"
,
"/etc/fusiondirectory"
);
define
(
"CONFIG_DIR"
,
"/etc/fusiondirectory"
);
/*! Define FusionDirectory etc path */
}
else
{
}
else
{
define
(
"CONFIG_DIR"
,
$_SERVER
[
'CONFIG_DIR'
]);
define
(
"CONFIG_DIR"
,
$_SERVER
[
'CONFIG_DIR'
]);
}
}
...
@@ -35,54 +36,54 @@ if(!isset($_SERVER['CONFIG_DIR'])){
...
@@ -35,54 +36,54 @@ if(!isset($_SERVER['CONFIG_DIR'])){
e.g. SetEnv CONFIG_FILE fusiondirectory.conf 1.0
e.g. SetEnv CONFIG_FILE fusiondirectory.conf 1.0
*/
*/
if
(
!
isset
(
$_SERVER
[
'CONFIG_FILE'
])){
if
(
!
isset
(
$_SERVER
[
'CONFIG_FILE'
])){
define
(
"CONFIG_FILE"
,
"fusiondirectory.conf"
);
define
(
"CONFIG_FILE"
,
"fusiondirectory.conf"
);
/*! Define FusionDirectory filename */
}
else
{
}
else
{
define
(
"CONFIG_FILE"
,
$_SERVER
[
'CONFIG_FILE'
]);
define
(
"CONFIG_FILE"
,
$_SERVER
[
'CONFIG_FILE'
]);
}
}
/* Smarty compile dir */
/* Smarty compile dir */
define
(
"SPOOL_DIR"
,
"/var/spool/fusiondirectory"
);
define
(
"SPOOL_DIR"
,
"/var/spool/fusiondirectory"
);
/*! Define FusionDirectory spool directory */
/* Global cache dir */
/* Global cache dir */
define
(
"CACHE_DIR"
,
"/var/cache/fusiondirectory"
);
define
(
"CACHE_DIR"
,
"/var/cache/fusiondirectory"
);
/*! Define FusionDirectory var directory */
/* Global locale cache dir */
/* Global locale cache dir */
define
(
"LOCALE_DIR"
,
"/var/cache/fusiondirectory/locale"
);
define
(
"LOCALE_DIR"
,
"/var/cache/fusiondirectory/locale"
);
/*! Define FusionDirectory locale directory */
/* Global tmp dir */
/* Global tmp dir */
define
(
"TEMP_DIR"
,
"/var/cache/fusiondirectory/tmp"
);
define
(
"TEMP_DIR"
,
"/var/cache/fusiondirectory/tmp"
);
/*! Define FusionDirectory tmp directory */
/* Directory containing the configuration template */
/* Directory containing the configuration template */
define
(
"CONFIG_TEMPLATE_DIR"
,
"/var/cache/fusiondirectory/template/"
);
define
(
"CONFIG_TEMPLATE_DIR"
,
"/var/cache/fusiondirectory/template/"
);
/*! Define FusionDirectory template directory */
/* Directory containing the fai logs */
/* Directory containing the fai logs */
define
(
"FAI_LOG_DIR"
,
"/var/cache/fusiondirectory/fai/"
);
define
(
"FAI_LOG_DIR"
,
"/var/cache/fusiondirectory/fai/"
);
/*! Define FusionDirectory fai directory */
/* Directory containing the vacation files */
/* Directory containing the vacation files */
define
(
"VACATION_DIR"
,
"/var/cache/fusiondirectory/vacation/"
);
define
(
"VACATION_DIR"
,
"/var/cache/fusiondirectory/vacation/"
);
/*! Define FusionDirectory vacation directory */
/* php library path */
/* php library path */
define
(
"PHP_DIR"
,
"/usr/share/php"
);
define
(
"PHP_DIR"
,
"/usr/share/php"
);
/*! Define php directory */
/* excel library path */
/* excel library path */
define
(
"EXCEL"
,
"/include/utils/excel"
);
define
(
"EXCEL"
,
"/include/utils/excel"
);
/*! Define excel library path */
/* fpdf library path */
/* fpdf library path */
define
(
"FPDF"
,
"/usr/share/php/fpdf/fpdf.php"
);
define
(
"FPDF"
,
"/usr/share/php/fpdf/fpdf.php"
);
/*! Define fpdf library path */
/* Global FPDF FONT define */
/* Global FPDF FONT define */
define
(
"FPDF_FONTPATH"
,
"/usr/share/php/fpdf/font/"
);
define
(
"FPDF_FONTPATH"
,
"/usr/share/php/fpdf/font/"
);
/*! Define fpdf font path */
/* path for smarty libraries */
/* path for smarty libraries */
define
(
"SMARTY"
,
"/usr/share/php/smarty/libs/Smarty.class.php"
);
define
(
"SMARTY"
,
"/usr/share/php/smarty/libs/Smarty.class.php"
);
/*! Define smarty2 library path */
define
(
"SMARTY3"
,
"/usr/share/php/smarty3/Smarty.class.php"
);
define
(
"SMARTY3"
,
"/usr/share/php/smarty3/Smarty.class.php"
);
/*! Define smarty3 library path */
/* name of the class.cache file */
/* name of the class.cache file */
define
(
"CLASS_CACHE"
,
"class.cache"
);
define
(
"CLASS_CACHE"
,
"class.cache"
);
/*! Define the name of the class cache */
/* name of the utility used to create windows passwords */
/* name of the utility used to create windows passwords */
define
(
"MKNTPWD"
,
"/usr/sbin/fusiondirectory-mkntpassword"
);
define
(
"MKNTPWD"
,
"/usr/sbin/fusiondirectory-mkntpassword"
);
/*! Define the name of the binary used to create smb password */
/* FusionDirectory Version */
/* FusionDirectory Version */
define
(
"FD_VERSION"
,
"1.0.3"
);
define
(
"FD_VERSION"
,
"1.0.3"
);
/*! Define FusionDirectory version */
?>
?>
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment
Menu
Explore
Projects
Groups
Topics
Snippets