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
ef7de86d
Commit
ef7de86d
authored
12 years ago
by
Laurent Destailleur
Browse files
Options
Downloads
Patches
Plain Diff
Show more param on conf.php file
parent
92fb64d1
Branches
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
htdocs/admin/system/constall.php
+11
-4
11 additions, 4 deletions
htdocs/admin/system/constall.php
htdocs/conf/conf.php.example
+13
-8
13 additions, 8 deletions
htdocs/conf/conf.php.example
with
24 additions
and
12 deletions
htdocs/admin/system/constall.php
+
11
−
4
View file @
ef7de86d
...
@@ -43,9 +43,8 @@ print_fiche_titre($langs->trans("SummaryConst"),'','setup');
...
@@ -43,9 +43,8 @@ print_fiche_titre($langs->trans("SummaryConst"),'','setup');
print_titre
(
$langs
->
trans
(
"ConfigurationFile"
)
.
' ('
.
$conffiletoshowshort
.
')'
);
print_titre
(
$langs
->
trans
(
"ConfigurationFile"
)
.
' ('
.
$conffiletoshowshort
.
')'
);
// Parameters in conf.php file
// Parameters in conf.php file
(when a parameter start with ?, it is shown only if defined)
$configfileparameters
=
array
(
$configfileparameters
=
array
(
// 'separator',
'dolibarr_main_url_root'
,
'dolibarr_main_url_root'
,
'dolibarr_main_url_root_alt'
,
'dolibarr_main_url_root_alt'
,
'dolibarr_main_document_root'
,
'dolibarr_main_document_root'
,
...
@@ -60,6 +59,7 @@ $configfileparameters=array(
...
@@ -60,6 +59,7 @@ $configfileparameters=array(
'dolibarr_main_db_pass'
,
'dolibarr_main_db_pass'
,
'dolibarr_main_db_character_set'
,
'dolibarr_main_db_character_set'
,
'dolibarr_main_db_collation'
,
'dolibarr_main_db_collation'
,
'?dolibarr_main_db_prefix'
,
'separator'
,
'separator'
,
'dolibarr_main_authentication'
,
'dolibarr_main_authentication'
,
'separator'
,
'separator'
,
...
@@ -85,7 +85,10 @@ $configfileparameters=array(
...
@@ -85,7 +85,10 @@ $configfileparameters=array(
'?dolibarr_js_JQUERY_UI'
,
'?dolibarr_js_JQUERY_UI'
,
'?dolibarr_js_JQUERY_FLOT'
,
'?dolibarr_js_JQUERY_FLOT'
,
'?dolibarr_font_DOL_DEFAULT_TTF'
,
'?dolibarr_font_DOL_DEFAULT_TTF'
,
'?dolibarr_font_DOL_DEFAULT_TTF_BOLD'
'?dolibarr_font_DOL_DEFAULT_TTF_BOLD'
,
'separator'
,
'?dolibarr_mailing_limit_sendbyweb'
,
'?dolibarr_strict_mode'
);
);
$configfilelib
=
array
(
$configfilelib
=
array
(
// 'separator',
// 'separator',
...
@@ -103,6 +106,7 @@ $configfilelib=array(
...
@@ -103,6 +106,7 @@ $configfilelib=array(
$langs
->
trans
(
"DatabasePassword"
),
$langs
->
trans
(
"DatabasePassword"
),
$langs
->
trans
(
"DBStoringCharset"
),
$langs
->
trans
(
"DBStoringCharset"
),
$langs
->
trans
(
"DBSortingCharset"
),
$langs
->
trans
(
"DBSortingCharset"
),
$langs
->
trans
(
"Prefix"
),
'separator'
,
'separator'
,
$langs
->
trans
(
"AuthenticationMode"
),
$langs
->
trans
(
"AuthenticationMode"
),
'separator'
,
'separator'
,
...
@@ -128,7 +132,10 @@ $configfilelib=array(
...
@@ -128,7 +132,10 @@ $configfilelib=array(
'dolibarr_js_JQUERY_UI'
,
'dolibarr_js_JQUERY_UI'
,
'dolibarr_js_JQUERY_FLOT'
,
'dolibarr_js_JQUERY_FLOT'
,
'dolibarr_font_DOL_DEFAULT_TTF'
,
'dolibarr_font_DOL_DEFAULT_TTF'
,
'dolibarr_font_DOL_DEFAULT_TTF_BOLD'
'dolibarr_font_DOL_DEFAULT_TTF_BOLD'
,
'separator'
,
'Limit nb of email sent by page'
,
'Strict mode is on/off'
);
);
$var
=
true
;
$var
=
true
;
print
'<table class="noborder" width="100%">'
;
print
'<table class="noborder" width="100%">'
;
...
...
This diff is collapsed.
Click to expand it.
htdocs/conf/conf.php.example
+
13
−
8
View file @
ef7de86d
...
@@ -96,14 +96,6 @@ $dolibarr_main_db_port='';
...
@@ -96,14 +96,6 @@ $dolibarr_main_db_port='';
$dolibarr_main_db_name
=
''
;
$dolibarr_main_db_name
=
''
;
// dolibarr_main_db_prefix
// This parameter contains prefix of Dolibarr database.
// Examples:
// $dolibarr_main_db_prefix='llx_';
//
$dolibarr_main_db_prefix
=
''
;
// dolibarr_main_db_user
// dolibarr_main_db_user
// This parameter contains user name used to read and write into
// This parameter contains user name used to read and write into
// Dolibarr database.
// Dolibarr database.
...
@@ -242,6 +234,13 @@ $dolibarr_main_prod='0';
...
@@ -242,6 +234,13 @@ $dolibarr_main_prod='0';
// Other
// Other
//##################
//##################
// dolibarr_main_db_prefix
// This parameter contains prefix of Dolibarr database. 'llx_' if not defined.
// Examples:
// $dolibarr_main_db_prefix='llx_';
//
$dolibarr_main_db_prefix
=
''
;
// dolibarr_main_limit_users
// dolibarr_main_limit_users
// Can set a limit on the number of users it will be possible to create
// Can set a limit on the number of users it will be possible to create
// (the superadmin not included). Can be used for a restricted mode.
// (the superadmin not included). Can be used for a restricted mode.
...
@@ -255,6 +254,12 @@ $dolibarr_main_prod='0';
...
@@ -255,6 +254,12 @@ $dolibarr_main_prod='0';
// Examples:
// Examples:
// $dolibarr_mailing_limit_sendbyweb='0';
// $dolibarr_mailing_limit_sendbyweb='0';
// dolibarr_strict_mode
// Set this to 1 to enable the PHP strict mode. For dev environment only.
// Default value: 0 (use database value if exist)
// Examples:
// $dolibarr_strict_mode=0;
//#################################
//#################################
// Path to external libraries/fonts
// Path to external libraries/fonts
...
...
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