blob: 2dd9c8a64b16b69a8d25765eb7ec7e819320ba39 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
|
diff --git a/cfg/conf.sample.php b/cfg/conf.sample.php
index 28dae77..8028191 100644
--- a/cfg/conf.sample.php
+++ b/cfg/conf.sample.php
@@ -111,7 +111,7 @@ limit = 10
; header = "X_FORWARDED_FOR"
; directory to store the traffic limits in
-dir = PATH "data"
+dir = "/var/lib/privatebin/trafficlimits"
[purge]
; minimum time limit between two purgings of expired pastes, it is only
@@ -125,14 +125,14 @@ limit = 300
batchsize = 10
; directory to store the purge limit in
-dir = PATH "data"
+dir = "/var/lib/privatebin/purgelimit"
[model]
; name of data model class to load and directory for storage
; the default model "Filesystem" stores everything in the filesystem
class = Filesystem
[model_options]
-dir = PATH "data"
+dir = "/var/lib/privatebin/model"
;[model]
; example of DB configuration for MySQL
@@ -148,7 +148,7 @@ dir = PATH "data"
; example of DB configuration for SQLite
;class = Database
;[model_options]
-;dsn = "sqlite:" PATH "data/db.sq3"
+;dsn = "sqlite:" "/var/lib/privatebin/data/db.sq3"
;usr = null
;pwd = null
;opt[12] = true ; PDO::ATTR_PERSISTENT
|