Changed config to use SQLite
This commit is contained in:
parent
3aa4911991
commit
f2912a07b0
20
cfg/conf.ini
20
cfg/conf.ini
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue