Files
ports/www/privatebin/files/patch-cfg_conf.sample.php
T
Dan Langille f351e56c46 www/privatebin: Update to 1.4.0
PR:		264087
2022-05-20 22:21:54 +00:00

21 lines
576 B
PHP

--- cfg/conf.sample.php.orig 2022-04-09 12:38:22 UTC
+++ cfg/conf.sample.php
@@ -167,7 +167,7 @@ batchsize = 10
; the default model "Filesystem" stores everything in the filesystem
class = Filesystem
[model_options]
-dir = PATH "data"
+dir = DATADBDIR
;[model]
; example of a Google Cloud Storage configuration
@@ -190,7 +190,7 @@ dir = PATH "data"
; example of DB configuration for SQLite
;class = Database
;[model_options]
-;dsn = "sqlite:" PATH "data/db.sq3"
+;dsn = "sqlite:" DATADBDIR "/db.sq3"
;usr = null
;pwd = null
;opt[12] = true ; PDO::ATTR_PERSISTENT