Changed config to use SQLite

This commit is contained in:
Hexalyse 2015-08-22 16:43:02 +02:00
parent 3aa4911991
commit f2912a07b0
1 changed files with 10 additions and 10 deletions

View File

@ -9,7 +9,7 @@
[main]
; enable or disable discussions
opendiscussion = true
opendiscussion = false
; enable or disable syntax highlighting
syntaxhighlighting = true
@ -62,9 +62,9 @@ dir = PATH "data"
[model]
; name of data model class to load and directory for storage
; the default model "zerobin_data" stores everything in the filesystem
class = zerobin_data
[model_options]
dir = PATH "data"
;class = zerobin_data
;[model_options]
;dir = PATH "data"
;[model]
; example of DB configuration for MySQL
@ -78,10 +78,10 @@ dir = PATH "data"
;[model]
; example of DB configuration for SQLite
;class = zerobin_db
;[model_options]
;dsn = "sqlite:" PATH "data/db.sq3"
;usr = null
;pwd = null
;opt[12] = true ; PDO::ATTR_PERSISTENT
class = zerobin_db
[model_options]
dsn = "sqlite:" PATH "data/db.sq3"
usr = null
pwd = null
opt[12] = true ; PDO::ATTR_PERSISTENT