config.sample.php 710 B

12345678910111213141516171819202122232425262728293031323334
  1. <?php
  2. if (!defined("CONFIG"))die("Not defined");
  3. setlocale(LC_ALL, 'ru_RU.UTF8');
  4. define("HTML_LANG","russian");
  5. define("HTML_STYLE","white");
  6. define("DB_HOST","localhost");
  7. define("DB_NAME","stat");
  8. define("DB_USER","user");
  9. define("DB_PASS","password");
  10. define("CACTI_DB_HOST","localhost");
  11. define("CACTI_DB_NAME","cacti");
  12. define("CACTI_DB_USER","");
  13. define("CACTI_DB_PASS","");
  14. define("IPCAM_GROUP_ID","5");
  15. #snmp timeout in microsecond
  16. define("SNMP_timeout","500000");
  17. #snmp retry after timeout
  18. define("SNMP_retry","1");
  19. #crypt config - CHANGE IT!!!
  20. define("ENCRYPTION_KEY","!!!CHANGE_ME!!!");
  21. define("ENCRYPTION_IV","123456782345");
  22. #session timeout, sec
  23. define("SESSION_LIFETIME","86400");
  24. ?>