2012-04-29 19:15:06 +02:00
|
|
|
; ZeroBin
|
|
|
|
;
|
|
|
|
; a zero-knowledge paste bin
|
|
|
|
;
|
|
|
|
; @link http://sebsauvage.net/wiki/doku.php?id=php:zerobin
|
|
|
|
; @copyright 2012 Sébastien SAUVAGE (sebsauvage.net)
|
|
|
|
; @license http://www.opensource.org/licenses/zlib-license.php The zlib/libpng License
|
|
|
|
; @version 0.15
|
|
|
|
|
2012-04-30 22:58:08 +02:00
|
|
|
; time limit between calls from the same IP address in seconds
|
2012-04-29 19:15:06 +02:00
|
|
|
traffic_limit = 10
|
|
|
|
traffic_dir = PATH "data"
|
|
|
|
|
2012-04-30 22:58:08 +02:00
|
|
|
; size limit per paste or comment in bytes
|
|
|
|
size_limit = 2000000
|
|
|
|
|
2012-04-29 19:15:06 +02:00
|
|
|
; name of data model class to load and directory for storage
|
|
|
|
; the default model "zerobin_data" stores everything in the filesystem
|
|
|
|
model = zerobin_data
|
|
|
|
model_options["dir"] = PATH "data"
|
|
|
|
|
|
|
|
; example of DB configuration for MySQL
|
|
|
|
;model = zerobin_db
|
|
|
|
;model_options["dsn"] = "mysql:host=localhost;dbname=zerobin"
|
|
|
|
;model_options["usr"] = "zerobin"
|
|
|
|
;model_options["pwd"] = "Z3r0P4ss"
|
|
|
|
;model_options["opt"][PDO::ATTR_PERSISTENT] = true
|
|
|
|
|
|
|
|
; example of DB configuration for SQLite
|
|
|
|
;model = zerobin_db
|
|
|
|
;model_options["dsn"] = "sqlite:" PATH "data"/db.sq3"
|
|
|
|
;model_options["usr"] = null
|
|
|
|
;model_options["pwd"] = null
|
|
|
|
;model_options["opt"] = null
|