Update conf.sample.php

Added an working PostgreSQL database configuration.
This commit is contained in:
PeGaSuS 2022-06-05 18:41:09 +02:00 committed by GitHub
parent d9857017de
commit 6d748de33a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -194,3 +194,13 @@ dir = PATH "data"
;usr = null ;usr = null
;pwd = null ;pwd = null
;opt[12] = true ; PDO::ATTR_PERSISTENT ;opt[12] = true ; PDO::ATTR_PERSISTENT
;[model]
; example of DB configuration for PostgreSQL
;class = Database
;[model_options]
;dsn = "pgsql:host=localhost;dbname=pastebin"
;tbl = "privatebin_" ; table prefix
;usr = "privatebin"
;pwd = "Z3r0P4ss"
;opt[12] = true ; PDO::ATTR_PERSISTENT