32 lines
1,011 B
INI
32 lines
1,011 B
INI
|
; 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
|
||
|
|
||
|
; timelimit between calls from the same IP address in seconds
|
||
|
traffic_limit = 10
|
||
|
traffic_dir = PATH "data"
|
||
|
|
||
|
; 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
|