conf.ini 2.5 KB

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