Você não pode selecionar mais de 25 tópicos Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.

config.inc.php 2.5KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879
  1. <?php
  2. /**
  3. * Sample configuration file with default values
  4. *
  5. * @package Poweradmin
  6. * @copyright 2007-2010 Rejo Zenger <rejo@zenger.nl>
  7. * @copyright 2010-2017 Poweradmin Development Team
  8. * @license http://opensource.org/licenses/GPL-3.0 GPL
  9. */
  10. // NOTE: Do not edit this file, otherwise it's very likely your changes
  11. // will be overwritten with an upgrade.
  12. // Instead, create the file "inc/config.inc.php" and set the variables you
  13. // want to set there. Your changes will override the defaults provided by us.
  14. // Better description of available configuration settings you can find here:
  15. // <https://github.com/poweradmin/poweradmin/wiki/Configuration-File>
  16. // Database settings
  17. $db_host = 'POSTGRES_HOST';
  18. //$db_port = '';
  19. $db_user = 'POSTGRES_PASSWORD';
  20. $db_pass = 'POSTGRES_PASSWORD';
  21. $db_name = 'POSTGRES_DB';
  22. $db_type = 'pgsql';
  23. $db_charset = 'utf8';
  24. //$db_file = ''; # used only for SQLite, provide full path to database file
  25. //$db_debug = false; # show all SQL queries
  26. //$db_ssl_ca = '';
  27. // Security settings
  28. // This should be changed upon install
  29. $session_key = 'SESSION_KEY';
  30. $password_encryption = 'md5'; // md5, md5salt or bcrypt
  31. //$password_encryption_cost = 12; // needed for bcrypt
  32. // Interface settings
  33. $iface_lang = 'en_EN';
  34. $iface_style = 'example';
  35. $iface_rowamount = 50;
  36. $iface_expire = 1800;
  37. $iface_zonelist_serial = false;
  38. $iface_title = 'Poweradmin';
  39. $iface_add_reverse_record = true;
  40. // Predefined DNS settings
  41. $dns_hostmaster = 'DNS_HOSTMASTER';
  42. $dns_ns1 = 'DNS_NS1';
  43. $dns_ns2 = 'DNS_NS2';
  44. $dns_ttl = DNS_TTL;
  45. $dns_fancy = false;
  46. $dns_strict_tld_check = false;
  47. $dns_top_level_tld_check = false; // Don't allow to create top level TLDs
  48. $dns_third_level_check = false;
  49. // Timezone settings
  50. // See <http://www.php.net/manual/en/timezones.php> for help.
  51. //$timezone = 'UTC';
  52. // Logging settings
  53. // Syslog usage - writes authentication attempts to syslog
  54. // This facility could be used in combination with fail2ban to
  55. // ban IPs with break-in attempts
  56. $syslog_use = false;
  57. $syslog_ident = 'poweradmin';
  58. // On Windows usually only LOG_USER is available
  59. $syslog_facility = LOG_USER;
  60. // PowerDNSSEC settings
  61. $pdnssec_use = true;
  62. $pdnssec_command = '/usr/bin/pdnsutil';
  63. // LDAP settings
  64. #$ldap_use = false;
  65. #$ldap_debug = false;
  66. #$ldap_uri = 'ldap://domaincontroller.example.com';
  67. #$ldap_basedn = 'OU=Users,DC=example,DC=com';
  68. #$ldap_binddn = 'GROUP\lookupuser';
  69. #$ldap_bindpw = 'some_password';
  70. #$ldap_user_attribute = 'sAMAccountName';
  71. #$ldap_proto = 3;