File that define environment for support pages.
More...
Go to the source code of this file.
|
| conf ($dolibarr_main_document_root) |
| Load conf file (file must exists) More...
|
|
| pHeader ($subtitle, $next, $action='set', $param='', $forcejqueryurl='', $csstable='main-inside') |
| Show HTML header of install pages. More...
|
|
| pFooter ($nonext=0, $setuplang='', $jscheckfunction='', $withpleasewait=0, $morehtml='') |
| Print HTML footer of install pages. More...
|
|
| dolibarr_install_syslog ($message, $level=LOG_DEBUG) |
| Log function for install pages. More...
|
|
| detect_dolibarr_main_document_root () |
| Automatically detect Dolibarr's main document root. More...
|
|
| detect_dolibarr_main_data_root ($dolibarr_main_document_root) |
| Automatically detect Dolibarr's main data root. More...
|
|
| detect_dolibarr_main_url_root () |
| Automatically detect Dolibarr's main URL root. More...
|
|
| parse_database_login ($force_install_databaserootlogin) |
| Replaces automatic database login by actual value. More...
|
|
| parse_database_pass ($force_install_databaserootpass) |
| Replaces automatic database password by actual value. More...
|
|
File that define environment for support pages.
Definition in file inc.php.
◆ conf()
conf |
( |
|
$dolibarr_main_document_root | ) |
|
Load conf file (file must exists)
- Parameters
-
string | $dolibarr_main_document_root | Root directory of Dolibarr bin files |
- Returns
- int <0 if KO, >0 if OK
Definition at line 292 of file inc.php.
Referenced by User\__construct().
◆ detect_dolibarr_main_data_root()
detect_dolibarr_main_data_root |
( |
|
$dolibarr_main_document_root | ) |
|
Automatically detect Dolibarr's main data root.
- Parameters
-
string | $dolibarr_main_document_root | Current main document root |
- Returns
- string
Definition at line 588 of file inc.php.
◆ detect_dolibarr_main_document_root()
detect_dolibarr_main_document_root |
( |
| ) |
|
Automatically detect Dolibarr's main document root.
- Returns
- string
Definition at line 564 of file inc.php.
◆ detect_dolibarr_main_url_root()
detect_dolibarr_main_url_root |
( |
| ) |
|
Automatically detect Dolibarr's main URL root.
- Returns
- string
Definition at line 600 of file inc.php.
◆ dolibarr_install_syslog()
dolibarr_install_syslog |
( |
|
$message, |
|
|
|
$level = LOG_DEBUG |
|
) |
| |
Log function for install pages.
- Parameters
-
string | $message | Message |
int | $level | Level of log |
- Returns
- void
Definition at line 551 of file inc.php.
◆ parse_database_login()
parse_database_login |
( |
|
$force_install_databaserootlogin | ) |
|
Replaces automatic database login by actual value.
- Parameters
-
string | $force_install_databaserootlogin | Login |
- Returns
- string
Definition at line 633 of file inc.php.
◆ parse_database_pass()
parse_database_pass |
( |
|
$force_install_databaserootpass | ) |
|
Replaces automatic database password by actual value.
- Parameters
-
string | $force_install_databaserootpass | Password |
- Returns
- string
Definition at line 644 of file inc.php.
◆ pFooter()
pFooter |
( |
|
$nonext = 0 , |
|
|
|
$setuplang = '' , |
|
|
|
$jscheckfunction = '' , |
|
|
|
$withpleasewait = 0 , |
|
|
|
$morehtml = '' |
|
) |
| |
Print HTML footer of install pages.
- Parameters
-
integer | $nonext | 1=No button "Next step", 2=Show button but disabled with a link to enable |
string | $setuplang | Language code |
string | $jscheckfunction | Add a javascript check function |
integer | $withpleasewait | Add also please wait tags |
string | $morehtml | Add more HTML content |
- Returns
- void
Definition at line 490 of file inc.php.
◆ pHeader()
pHeader |
( |
|
$subtitle, |
|
|
|
$next, |
|
|
|
$action = 'set' , |
|
|
|
$param = '' , |
|
|
|
$forcejqueryurl = '' , |
|
|
|
$csstable = 'main-inside' |
|
) |
| |
Show HTML header of install pages.
- Parameters
-
string | $subtitle | Title |
string | $next | Next |
string | $action | Action code ('set' or 'upgrade') |
string | $param | Param |
string | $forcejqueryurl | Set jquery relative URL (must end with / if defined) |
string | $csstable | Css for table |
- Returns
- void
Definition at line 401 of file inc.php.