Fork of FusionPBX but with LDAP kinda working
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

47 lines
1.6 KiB

  1. <?php
  2. /*
  3. FusionPBX
  4. Version: MPL 1.1
  5. The contents of this file are subject to the Mozilla Public License Version
  6. 1.1 (the "License"); you may not use this file except in compliance with
  7. the License. You may obtain a copy of the License at
  8. http://www.mozilla.org/MPL/
  9. Software distributed under the License is distributed on an "AS IS" basis,
  10. WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
  11. for the specific language governing rights and limitations under the
  12. License.
  13. The Original Code is FusionPBX
  14. The Initial Developer of the Original Code is
  15. Mark J Crane <markjcrane@fusionpbx.com>
  16. Portions created by the Initial Developer are Copyright (C) 2008-2016
  17. the Initial Developer. All Rights Reserved.
  18. Contributor(s):
  19. Mark J Crane <markjcrane@fusionpbx.com>
  20. */
  21. //set the database type
  22. $db_type = 'pgsql'; //sqlite, mysql, pgsql, others with a manually created PDO connection
  23. //sqlite: the db_name and db_path are automatically assigned however the values can be overidden by setting the values here.
  24. //$db_name = 'fusionpbx.db'; //host name/ip address + '.db' is the default database filename
  25. //$db_path = '/var/www/fusionpbx/secure'; //the path is determined by a php variable
  26. //pgsql: database connection information
  27. $db_host = '{database_host}';
  28. $db_port = '5432';
  29. $db_name = 'fusionpbx';
  30. $db_username = '{database_username}';
  31. $db_password = '{database_password}';
  32. //show errors
  33. ini_set('display_errors', '1');
  34. //error_reporting (E_ALL); // Report everything
  35. //error_reporting (E_ALL ^ E_NOTICE); // hide notices
  36. error_reporting(E_ALL ^ E_NOTICE ^ E_WARNING ); //hide notices and warnings
  37. ?>