} /* POSTGRESQL */ if (zbx_is_callable(array('pg_pconnect', 'pg_fetch_array', 'pg_fetch_row', 'pg_exec', 'pg_getlastoid'))) { $ZBX_CONFIG['allowed_db']['POSTGRESQL'] = 'PostgreSQL'; } /* ORACLE */ if (zbx_is_callable(array('ocilogon', 'ocierror', 'ociparse', 'ociexecute', 'ocifetchinto'))) { $ZBX_CONFIG['allowed_db']['ORACLE'] = 'Oracle'; } /* SQLITE3 */ if (zbx_is_callable(array('sqlite3_open', 'sqlite3_close', 'sqlite3_query', 'sqlite3_error', 'sqlite3_fetch_array', 'sqlite3_query_close', 'sqlite3_exec'))) { $ZBX_CONFIG['allowed_db']['SQLITE3'] = 'SQLite3'; } if (count($ZBX_CONFIG['allowed_db']) == 0) { $ZBX_CONFIG['allowed_db']['no'] = 'No'; } global $ZBX_SETUP_WIZARD; $ZBX_SETUP_WIZARD = new CSetupWizard($ZBX_CONFIG); zbx_set_post_cookie('ZBX_CONFIG', serialize($ZBX_CONFIG)); include_once 'include/page_header.php'; global $ZBX_CONFIGURATION_FILE; if (file_exists($ZBX_CONFIGURATION_FILE)) { if (isset($_REQUEST['message'])) { show_error_message($_REQUEST['message']); } } insert_showhint_javascript(); echo SBR; $ZBX_SETUP_WIZARD->Show(); unset($_POST); include_once 'include/page_footer.php';