conf.ini 2.7 KB

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