dolibarr 19.0.3
|
File that define environment for support pages. More...
Go to the source code of this file.
Functions | |
usage ($program, $header) | |
Print the usage when executing scripts from install/. | |
conf ($dolibarr_main_document_root) | |
Load conf file (file must exists) | |
pHeader ($subtitle, $next, $action='set', $param='', $forcejqueryurl='', $csstable='main-inside') | |
Show HTML header of install pages. | |
pFooter ($nonext=0, $setuplang='', $jscheckfunction='', $withpleasewait=0, $morehtml='') | |
Print HTML footer of install pages. | |
dolibarr_install_syslog ($message, $level=LOG_DEBUG) | |
Log function for install pages. | |
detect_dolibarr_main_document_root () | |
Automatically detect Dolibarr's main document root. | |
detect_dolibarr_main_data_root ($dolibarr_main_document_root) | |
Automatically detect Dolibarr's main data root. | |
detect_dolibarr_main_url_root () | |
Automatically detect Dolibarr's main URL root. | |
parse_database_login ($force_install_databaserootlogin) | |
Replaces automatic database login by actual value. | |
parse_database_pass ($force_install_databaserootpass) | |
Replaces automatic database password by actual value. | |
File that define environment for support pages.
Definition in file inc.php.
conf | ( | $dolibarr_main_document_root | ) |
Load conf file (file must exists)
string | $dolibarr_main_document_root | Root directory of Dolibarr bin files |
Definition at line 403 of file inc.php.
Referenced by modGeneratePassNone\__construct(), modGeneratePassPerso\__construct(), modGeneratePassStandard\__construct(), printing_printgcp\__construct(), printing_printipp\__construct(), User\__construct(), encodedecode_dbpassconf(), User\loadPersonalConf(), and User\send_password().
detect_dolibarr_main_data_root | ( | $dolibarr_main_document_root | ) |
detect_dolibarr_main_document_root | ( | ) |
detect_dolibarr_main_url_root | ( | ) |
dolibarr_install_syslog | ( | $message, | |
$level = LOG_DEBUG ) |
Log function for install pages.
string | $message | Message |
int | $level | Level of log |
Definition at line 666 of file inc.php.
References dol_syslog().
Referenced by migrate_actioncomm_element(), migrate_categorie_association(), migrate_clean_association(), migrate_commande_deliveryaddress(), migrate_commande_expedition(), migrate_commande_livraison(), migrate_contracts_date1(), migrate_contracts_date2(), migrate_contracts_date3(), migrate_contracts_det(), migrate_contracts_open(), migrate_customerorder_shipping(), migrate_delete_old_dir(), migrate_delete_old_files(), migrate_detail_livraison(), migrate_element_time(), migrate_event_assignement(), migrate_event_assignement_contact(), migrate_links_transfert(), migrate_menus(), migrate_mode_reglement(), migrate_modeles(), migrate_paiementfourn_facturefourn(), migrate_paiements(), migrate_paiements_orphelins_1(), migrate_paiements_orphelins_2(), migrate_price_commande(), migrate_price_commande_fournisseur(), migrate_price_contrat(), migrate_price_facture(), migrate_price_propal(), migrate_project_task_actors(), migrate_project_user_resp(), migrate_relationship_tables(), migrate_reload_menu(), migrate_reload_modules(), migrate_remise_entity(), migrate_remise_except_entity(), migrate_rename_directories(), migrate_reset_blocked_log(), migrate_restore_missing_links(), migrate_shipping_delivery(), migrate_shipping_delivery2(), migrate_stocks(), migrate_user_rights_entity(), and migrate_usergroup_rights_entity().
parse_database_login | ( | $force_install_databaserootlogin | ) |
parse_database_pass | ( | $force_install_databaserootpass | ) |
pFooter | ( | $nonext = 0, | |
$setuplang = '', | |||
$jscheckfunction = '', | |||
$withpleasewait = 0, | |||
$morehtml = '' ) |
Print HTML footer of install pages.
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 |
pHeader | ( | $subtitle, | |
$next, | |||
$action = 'set', | |||
$param = '', | |||
$forcejqueryurl = '', | |||
$csstable = 'main-inside' ) |
Show HTML header of install pages.
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 |
usage | ( | $program, | |
$header ) |
Print the usage when executing scripts from install/.
Print the help text exposing the available options when executing update or install script (ie. from htdocs/install/) from CLI with the php
executable. This function does not exit
the program and the caller should then call exit
themselves since they should determine whether it was an error or not.
string | $program | the script that was originally run |
string | $header | the message to signal to the user |