소스 검색

Merge pull request #935 from PeGaSuS-Coder/patch-1

Update conf.sample.php
El RIDO 4 년 전
부모
커밋
c3302b5f8d
1개의 변경된 파일10개의 추가작업 그리고 0개의 파일을 삭제
  1. 10 0
      cfg/conf.sample.php

+ 10 - 0
cfg/conf.sample.php

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