From f2912a07b06c23f9d88adcb365dd9c3b2b5c1992 Mon Sep 17 00:00:00 2001 From: Hexalyse Date: Sat, 22 Aug 2015 16:43:02 +0200 Subject: [PATCH] Changed config to use SQLite --- cfg/conf.ini | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/cfg/conf.ini b/cfg/conf.ini index 4169c1e..e37f879 100644 --- a/cfg/conf.ini +++ b/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