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