Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
dolibarr
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Container Registry
Model registry
Analyze
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Software_Artifact_Infrastructure_Repository
dolibarr
Commits
0eb061ea
Commit
0eb061ea
authored
13 years ago
by
Laurent Destailleur
Browse files
Options
Downloads
Patches
Plain Diff
Comment TODO
parent
b706f603
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
htdocs/core/class/conf.class.php
+3
-3
3 additions, 3 deletions
htdocs/core/class/conf.class.php
with
3 additions
and
3 deletions
htdocs/core/class/conf.class.php
+
3
−
3
View file @
0eb061ea
...
@@ -25,7 +25,7 @@
...
@@ -25,7 +25,7 @@
* \ingroup core
* \ingroup core
* \brief Fichier de la classe de stockage de la config courante
* \brief Fichier de la classe de stockage de la config courante
* \remarks La config est stockee dans le fichier conf/conf.php
* \remarks La config est stockee dans le fichier conf/conf.php
* \version $Id: conf.class.php,v 1.6
0
2011/07/
09 05:28:42 hregis
Exp $
* \version $Id: conf.class.php,v 1.6
1
2011/07/
13 18:04:25 eldy
Exp $
*/
*/
...
@@ -145,13 +145,13 @@ class Conf
...
@@ -145,13 +145,13 @@ class Conf
elseif
(
preg_match
(
'/^MAIN_MODULE_([A-Z_]+)_TRIGGERS$/i'
,
$key
,
$reg
))
elseif
(
preg_match
(
'/^MAIN_MODULE_([A-Z_]+)_TRIGGERS$/i'
,
$key
,
$reg
))
{
{
$modulename
=
strtolower
(
$reg
[
1
]);
$modulename
=
strtolower
(
$reg
[
1
]);
$this
->
triggers_modules
[]
=
'/'
.
$modulename
.
'/inc/triggers/'
;
$this
->
triggers_modules
[]
=
'/'
.
$modulename
.
'/inc/triggers/'
;
// TODO Replace inc by includes to have same path than standard
}
}
// If this is constant for login method activated by a module
// If this is constant for login method activated by a module
elseif
(
preg_match
(
'/^MAIN_MODULE_([A-Z_]+)_LOGIN_METHOD$/i'
,
$key
,
$reg
))
elseif
(
preg_match
(
'/^MAIN_MODULE_([A-Z_]+)_LOGIN_METHOD$/i'
,
$key
,
$reg
))
{
{
$modulename
=
strtolower
(
$reg
[
1
]);
$modulename
=
strtolower
(
$reg
[
1
]);
$this
->
login_method_modules
[]
=
DOL_DOCUMENT_ROOT
.
'/'
.
$modulename
.
'/inc/login/'
;
$this
->
login_method_modules
[]
=
DOL_DOCUMENT_ROOT
.
'/'
.
$modulename
.
'/inc/login/'
;
// TODO Replace inc by includes to have same path than standard
}
}
// If this is constant for hook activated by a module. Value is list of hooked tabs separated with :
// If this is constant for hook activated by a module. Value is list of hooked tabs separated with :
elseif
(
preg_match
(
'/^MAIN_MODULE_([A-Z_]+)_HOOKS$/i'
,
$key
,
$reg
))
elseif
(
preg_match
(
'/^MAIN_MODULE_([A-Z_]+)_HOOKS$/i'
,
$key
,
$reg
))
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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