conf.ini 2.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103
  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. [expire_labels]
  48. ; descriptive labels for the expiration times
  49. ; must match those in [expire_options]
  50. 5min = "5 minutes"
  51. 10min = "10 minutes"
  52. 1hour = "1 hour"
  53. 1day = "1 day"
  54. 1week = "1 week"
  55. 1month = "1 month"
  56. 1year = "1 year"
  57. never = "Never"
  58. [traffic]
  59. ; time limit between calls from the same IP address in seconds
  60. ; Set this to 0 to disable rate limiting.
  61. limit = 10
  62. dir = PATH "data"
  63. [model]
  64. ; name of data model class to load and directory for storage
  65. ; the default model "zerobin_data" stores everything in the filesystem
  66. class = zerobin_data
  67. [model_options]
  68. dir = PATH "data"
  69. ;[model]
  70. ; example of DB configuration for MySQL
  71. ;class = zerobin_db
  72. ;[model_options]
  73. ;dsn = "mysql:host=localhost;dbname=zerobin;charset=UTF8"
  74. ;tbl = "zerobin_" ; table prefix
  75. ;usr = "zerobin"
  76. ;pwd = "Z3r0P4ss"
  77. ;opt[12] = true ; PDO::ATTR_PERSISTENT
  78. ;[model]
  79. ; example of DB configuration for SQLite
  80. ;class = zerobin_db
  81. ;[model_options]
  82. ;dsn = "sqlite:" PATH "data/db.sq3"
  83. ;usr = null
  84. ;pwd = null
  85. ;opt[12] = true ; PDO::ATTR_PERSISTENT