1
0

conf.ini 2.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091
  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.20
  9. [main]
  10. ; enable or disable the discussion feature, defaults to true
  11. discussion = true
  12. ; preselect the discussion feature, defaults to false
  13. opendiscussion = false
  14. ; enable or disable syntax highlighting, defaults to true
  15. syntaxhighlighting = true
  16. ; (optional) set a syntax highlighting theme, as found in css/prettify/
  17. ; syntaxhighlightingtheme = "sons-of-obsidian"
  18. ; preselect the burn-after-reading feature, defaults to false
  19. burnafterreadingselected = false
  20. ; enable or disable the password feature, defaults to true
  21. password = true
  22. ; size limit per paste or comment in bytes, defaults to 2 Mibibytes
  23. sizelimit = 2097152
  24. ; template to include, default is "bootstrap" (tpl/bootstrap.html)
  25. template = "bootstrap"
  26. ; (optional) notice to display
  27. ; notice = "Note: This is a test service: Data may be deleted anytime. Kittens will die if you abuse this service."
  28. ; base64.js library version, defaults to 2.1.9
  29. ; use "1.7" if you are upgrading from a ZeroBin Alpha 0.19 installation
  30. base64version = "2.1.9"
  31. [expire]
  32. ; expire value that is selected per default
  33. ; make sure the value exists in [expire_options]
  34. default = "1week"
  35. [expire_options]
  36. ; Set each one of these to the number of seconds in the expiration period,
  37. ; or 0 if it should never expire
  38. 5min = 300
  39. 10min = 600
  40. 1hour = 3600
  41. 1day = 86400
  42. 1week = 604800
  43. ; Well this is not *exactly* one month, it's 30 days:
  44. 1month = 2592000
  45. 1year = 31536000
  46. never = 0
  47. [traffic]
  48. ; time limit between calls from the same IP address in seconds
  49. ; Set this to 0 to disable rate limiting.
  50. limit = 10
  51. dir = PATH "data"
  52. [model]
  53. ; name of data model class to load and directory for storage
  54. ; the default model "zerobin_data" stores everything in the filesystem
  55. class = zerobin_data
  56. [model_options]
  57. dir = PATH "data"
  58. ;[model]
  59. ; example of DB configuration for MySQL
  60. ;class = zerobin_db
  61. ;[model_options]
  62. ;dsn = "mysql:host=localhost;dbname=zerobin;charset=UTF8"
  63. ;tbl = "zerobin_" ; table prefix
  64. ;usr = "zerobin"
  65. ;pwd = "Z3r0P4ss"
  66. ;opt[12] = true ; PDO::ATTR_PERSISTENT
  67. ;[model]
  68. ; example of DB configuration for SQLite
  69. ;class = zerobin_db
  70. ;[model_options]
  71. ;dsn = "sqlite:" PATH "data/db.sq3"
  72. ;usr = null
  73. ;pwd = null
  74. ;opt[12] = true ; PDO::ATTR_PERSISTENT