config.sample.php 739 B

1234567891011121314151617181920212223242526272829303132333435
  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_TYPE","db_type");
  8. define("DB_NAME","stat");
  9. define("DB_USER","user");
  10. define("DB_PASS","password");
  11. define("CACTI_DB_HOST","localhost");
  12. define("CACTI_DB_NAME","cacti");
  13. define("CACTI_DB_USER","");
  14. define("CACTI_DB_PASS","");
  15. define("IPCAM_GROUP_ID","5");
  16. #snmp timeout in microsecond
  17. define("SNMP_timeout","500000");
  18. #snmp retry after timeout
  19. define("SNMP_retry","1");
  20. #crypt config - CHANGE IT!!!
  21. define("ENCRYPTION_KEY","!!!CHANGE_ME!!!");
  22. define("ENCRYPTION_IV","123456782345");
  23. #session timeout, sec
  24. define("SESSION_LIFETIME","86400");
  25. ?>