conf.ini 1.1 KB

12345678910111213141516171819202122232425262728293031323334
  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. ; time limit between calls from the same IP address in seconds
  10. traffic_limit = 10
  11. traffic_dir = PATH "data"
  12. ; size limit per paste or comment in bytes
  13. size_limit = 2000000
  14. ; name of data model class to load and directory for storage
  15. ; the default model "zerobin_data" stores everything in the filesystem
  16. model = zerobin_data
  17. model_options["dir"] = PATH "data"
  18. ; example of DB configuration for MySQL
  19. ;model = zerobin_db
  20. ;model_options["dsn"] = "mysql:host=localhost;dbname=zerobin"
  21. ;model_options["usr"] = "zerobin"
  22. ;model_options["pwd"] = "Z3r0P4ss"
  23. ;model_options["opt"][PDO::ATTR_PERSISTENT] = true
  24. ; example of DB configuration for SQLite
  25. ;model = zerobin_db
  26. ;model_options["dsn"] = "sqlite:" PATH "data"/db.sq3"
  27. ;model_options["usr"] = null
  28. ;model_options["pwd"] = null
  29. ;model_options["opt"] = null