Go to the source code of this file.
Variables | |
| $base = dirname(__DIR__, 4) | |
| Bereitet den administrativen Zugang der Dokumentationsinstallation vor. | |
| $_SERVER ['REQUEST_URI'] = '/dbxapp-docs/' | |
| $_SERVER ['HTTP_HOST'] = 'localhost' | |
| $_SERVER ['HTTPS'] = 'on' | |
| $_SERVER ['SCRIPT_NAME'] = '/dbxapp-docs/index.php' | |
| const | dbxSystem 'dbxWebApp' |
| const | dbxRunAsAdmin 1 |
| $db = dbx()->get_system_obj('dbxDB') | |
| $dd = dbx()->get_system_obj('dbxDD') | |
| $schema = array() | |
| foreach(array('dbxUser', 'dbxUser_groups') as $name) | $failed |
| if($failed !==array()) | $installer = new dbxInstallationService($db, $dd) |
| $groups = $installer->seedCoreGroups() | |
| $admin | |
| if((int)( $admin[ 'id'] ?? 0)<=0) if(!dbx() ->patch_local_config('dbxLogin', array('register'=> '0'))) | $binding = $db->get_dd_server_binding_info('dbx|dbxUser') |
| $ok | |
| $_SERVER[ 'HTTP_HOST'] = 'localhost' |
Definition at line 22 of file configure_docs_access_20260728.php.
| $_SERVER[ 'HTTPS'] = 'on' |
Definition at line 23 of file configure_docs_access_20260728.php.
| $_SERVER[ 'REQUEST_URI'] = '/dbxapp-docs/' |
Definition at line 21 of file configure_docs_access_20260728.php.
| $_SERVER[ 'SCRIPT_NAME'] = '/dbxapp-docs/index.php' |
Definition at line 24 of file configure_docs_access_20260728.php.
| $admin |
Definition at line 61 of file configure_docs_access_20260728.php.
Referenced by dbxWebApp\check_design(), is_design(), dbx\dbxContact_admin\dbxContact_admin\run(), dbx\dbxDesign_admin\dbxDesign_admin\run(), dbx\dbxShop_admin\dbxShop_admin\run(), and dbx\dbxWorkflow_admin\dbxWorkflow_admin\run().
| $base = dirname(__DIR__, 4) |
Bereitet den administrativen Zugang der Dokumentationsinstallation vor.
Ausführung im Wurzelverzeichnis der Dokumentationsinstallation: php dbx/modules/dbxDocs/tools/configure_docs_access_20260728.php
Falls noch kein Admin existiert, müssen DBX_DOCS_ADMIN_PASSWORD und DBX_DOCS_ADMIN_EMAIL in der lokalen Prozessumgebung gesetzt sein. Passwörter werden weder als Argument angenommen noch ausgegeben.
Benutzer und Gruppen werden ausschließlich über DD, dbxDD und dbxDB provisioniert. Eine lokale DD-Serverbindung (DB3, MySQL oder gemischt) bleibt dadurch vollständig wirksam.
Definition at line 19 of file configure_docs_access_20260728.php.
| if((int)($admin['id'] ?? 0)<=0) if (!dbx() ->patch_local_config( 'dbxLogin', array( 'register'=> '0'))) $binding = $db->get_dd_server_binding_info('dbx|dbxUser') |
Definition at line 89 of file configure_docs_access_20260728.php.
Referenced by dbxDB\get_dd_server(), dbx\dbxSetup\dbxInstallationService\provisionSchema(), and dbx\dbxSetup\dbxInstallationService\verifyBundledSchema().
Definition at line 35 of file configure_docs_access_20260728.php.
Definition at line 36 of file configure_docs_access_20260728.php.
| foreach (array( 'dbxUser', 'dbxUser_groups') as $name) $failed |
Definition at line 51 of file configure_docs_access_20260728.php.
| $groups = $installer->seedCoreGroups() |
Definition at line 60 of file configure_docs_access_20260728.php.
| if ( $failed !==array()) $installer = new dbxInstallationService($db, $dd) |
Definition at line 59 of file configure_docs_access_20260728.php.
Referenced by dbx\dbxAdmin\dbxDDServerBindings\run().
| $ok |
Definition at line 90 of file configure_docs_access_20260728.php.
Referenced by dbx\dbxContent_admin\add_content(), dbxDB\add_db_fld(), dbx\dbxAdmin\add_dbtable(), dbx\dbxWorkflow\dbxWorkflowModule\applyFinish(), dbxFileWalker\archiv(), dbxDD\backup(), dbxWebApp\check_config(), dbxWebApp\check_design(), dbxForm\check_fld_data(), dbxWebApp\check_lng(), dbxDB\check_values(), dbxDB\connect_db_server(), dbxDD\create_db_tab(), dbxDD\create_db_tab_from_fields(), dbx\dbxAdmin\create_table(), dbxDB\dbConnect(), dbx_is_decimal(), dbx\dbxContent_admin\del_content(), dbxReport\del_selected(), dbxDB\delete(), dbxFileWalker\delete(), dbxReport\delete_multi_selected_records(), dbxDB\delete_tab(), dbx\dbxAdmin\delete_table(), dbxDB\empty(), dbxDD\empty_db_table(), dbxDB\exec_query(), dbx\myInvoices\myInvoicesService\form(), dbxDB\get_db_tables(), dbxForm\get_post(), dbxForm\get_post_data(), dbxReport\get_sel(), dbx\myLKW\myLKW_import\import(), dbxCSVreader\import(), dbxSQLreader\import(), dbx\myInvoices\myInvoicesFixtures\install(), log_missing(), dbx\dbxAdmin\report_server(), dbx\dbxContact\dbxContactForm\run(), dbx\dbxContent_admin\dbxContent_edit\run(), dbx\dbxContent_admin\dbxContent_sysdata\run(), dbx\dbxContent_admin\dbxFolder_edit\run(), dbx\dbxUser\dbxUser_avatar\run(), dbx\dbxUser\dbxUser_profil\run(), dbx\dbxUser_admin\run(), dbx\myLKW\myLKW_dayshift\run(), dbxProcess\run(), dbxSQLreader\run(), dbx\dbxContent_admin\dbxContent_content\run_nix(), dbxDB\save(), dbxDD\save_dd(), dbx\myLKW\myLKW_dispo\save_dispo(), dbxForm\save_post(), dbxDD\save_schema_mapping(), dbxSession\save_session(), dbx\dbxShop\dbxShopRepository\saveWithdrawal(), dbxMail\send(), dbxDD\sync_db_to_dd(), dbxDD\sync_dd_to_db(), sys_msg(), dbx\dbxSetup\dbxInstall\systemChecks(), and dbxDD\write_dd().
| $schema = array() |
Definition at line 37 of file configure_docs_access_20260728.php.
Referenced by dbxDD\build_schema_mapping().
| const dbxRunAsAdmin 1 |
Definition at line 27 of file configure_docs_access_20260728.php.
| const dbxSystem 'dbxWebApp' |
Definition at line 26 of file configure_docs_access_20260728.php.