conf.ini 1011 B

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