Ви не можете вибрати більше 25 тем Теми мають розпочинатися з літери або цифри, можуть містити дефіси (-) і не повинні перевищувати 35 символів.

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778
  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_ttl = DNS_TTL;
  44. $dns_fancy = false;
  45. $dns_strict_tld_check = false;
  46. $dns_top_level_tld_check = false; // Don't allow to create top level TLDs
  47. $dns_third_level_check = false;
  48. // Timezone settings
  49. // See <http://www.php.net/manual/en/timezones.php> for help.
  50. //$timezone = 'UTC';
  51. // Logging settings
  52. // Syslog usage - writes authentication attempts to syslog
  53. // This facility could be used in combination with fail2ban to
  54. // ban IPs with break-in attempts
  55. $syslog_use = false;
  56. $syslog_ident = 'poweradmin';
  57. // On Windows usually only LOG_USER is available
  58. $syslog_facility = LOG_USER;
  59. // PowerDNSSEC settings
  60. $pdnssec_use = true;
  61. $pdnssec_command = '/usr/bin/pdnsutil';
  62. // LDAP settings
  63. #$ldap_use = false;
  64. #$ldap_debug = false;
  65. #$ldap_uri = 'ldap://domaincontroller.example.com';
  66. #$ldap_basedn = 'OU=Users,DC=example,DC=com';
  67. #$ldap_binddn = 'GROUP\lookupuser';
  68. #$ldap_bindpw = 'some_password';
  69. #$ldap_user_attribute = 'sAMAccountName';
  70. #$ldap_proto = 3;