Function Hook_import_mybb->probe_db_access

Definitions

sources/hooks/modules/admin_import/mybb.php

  • Probe a file path for DB access details.
  • Visibility: public
  • Is abstract?: No
  • Is static?: No
  • Is final?: No
  • Return: array

Parameters

Name Type Default Set Range Description
$file_base string required parameter N/A N/A The probe path

Return

  • A quartet of the details (db_name, db_user, db_pass, table_prefix)
  • Type: array
  • Set: N/A
  • Range: N/A