conf.ini 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. ; ZeroBin
  2. ;
  3. ; a zero-knowledge paste bin
  4. ;
  5. ; @link http://sebsauvage.net/wiki/doku.php?id=php:zerobin
  6. ; @copyright 2012 Sébastien SAUVAGE (sebsauvage.net)
  7. ; @license http://www.opensource.org/licenses/zlib-license.php The zlib/libpng License
  8. ; @version 0.15
  9. [main]
  10. ; enable or disable discussions
  11. opendiscussion = true
  12. ; size limit per paste or comment in bytes
  13. sizelimit = 2097152
  14. [traffic]
  15. ; time limit between calls from the same IP address in seconds
  16. limit = 10
  17. dir = PATH "data"
  18. [model]
  19. ; name of data model class to load and directory for storage
  20. ; the default model "zerobin_data" stores everything in the filesystem
  21. class = zerobin_data
  22. [model_options]
  23. dir = PATH "data"
  24. ;[model]
  25. ; example of DB configuration for MySQL
  26. ;class = zerobin_db
  27. ;[model_options]
  28. ;dsn = "mysql:host=localhost;dbname=zerobin;charset=UTF8"
  29. ;tbl = "zerobin_" ; table prefix
  30. ;usr = "zerobin"
  31. ;pwd = "Z3r0P4ss"
  32. ;opt[12] = true ; PDO::ATTR_PERSISTENT
  33. ;[model]
  34. ; example of DB configuration for SQLite
  35. ;[model_options]
  36. ;class = zerobin_db
  37. ;dsn = "sqlite:" PATH "data/db.sq3"
  38. ;usr = null
  39. ;pwd = null
  40. ;opt[12] = true ; PDO::ATTR_PERSISTENT