aboutsummaryrefslogtreecommitdiffhomepage
path: root/inc/poche/config.inc.php
diff options
context:
space:
mode:
authorNicolas LÅ“uillet <nicolas.loeuillet@gmail.com>2013-08-07 14:24:07 +0200
committerNicolas LÅ“uillet <nicolas.loeuillet@gmail.com>2013-08-07 14:24:07 +0200
commitbc1ee8524e0769ad37e3c4c02cfe96d2f60e52f6 (patch)
tree5ea9d0f0560e84c07ab84c86b9e5fd4dd6ebb039 /inc/poche/config.inc.php
parent8d3275bee488d058c6ff0efe6e81d20a584d3709 (diff)
downloadwallabag-bc1ee8524e0769ad37e3c4c02cfe96d2f60e52f6.tar.gz
wallabag-bc1ee8524e0769ad37e3c4c02cfe96d2f60e52f6.tar.zst
wallabag-bc1ee8524e0769ad37e3c4c02cfe96d2f60e52f6.zip
postgres
Diffstat (limited to 'inc/poche/config.inc.php')
-rw-r--r--inc/poche/config.inc.php7
1 files changed, 3 insertions, 4 deletions
diff --git a/inc/poche/config.inc.php b/inc/poche/config.inc.php
index a8a9c032..834b18ea 100644
--- a/inc/poche/config.inc.php
+++ b/inc/poche/config.inc.php
@@ -24,7 +24,7 @@ define ('CACHE', './cache');
24define ('LANG', 'en_EN.UTF8'); 24define ('LANG', 'en_EN.UTF8');
25define ('PAGINATION', '10'); 25define ('PAGINATION', '10');
26define ('THEME', 'light'); 26define ('THEME', 'light');
27$storage_type = 'sqlite'; # sqlite, mysql, (file, not yet) 27define ('STORAGE','postgres'); # postgres, mysql, sqlite
28 28
29# /!\ Be careful if you change the lines below /!\ 29# /!\ Be careful if you change the lines below /!\
30require_once './inc/poche/User.class.php'; 30require_once './inc/poche/User.class.php';
@@ -34,8 +34,7 @@ require_once './inc/3rdparty/class.messages.php';
34require_once './inc/poche/Poche.class.php'; 34require_once './inc/poche/Poche.class.php';
35require_once './inc/3rdparty/Readability.php'; 35require_once './inc/3rdparty/Readability.php';
36require_once './inc/3rdparty/Encoding.php'; 36require_once './inc/3rdparty/Encoding.php';
37require_once './inc/store/store.class.php'; 37require_once './inc/poche/Database.class.php';
38require_once './inc/store/' . $storage_type . '.class.php';
39require_once './vendor/autoload.php'; 38require_once './vendor/autoload.php';
40require_once './inc/3rdparty/simple_html_dom.php'; 39require_once './inc/3rdparty/simple_html_dom.php';
41require_once './inc/3rdparty/paginator.php'; 40require_once './inc/3rdparty/paginator.php';
@@ -45,7 +44,7 @@ if (DOWNLOAD_PICTURES) {
45 require_once './inc/poche/pochePictures.php'; 44 require_once './inc/poche/pochePictures.php';
46} 45}
47 46
48$poche = new Poche($storage_type); 47$poche = new Poche();
49 48
50#XSRF protection with token 49#XSRF protection with token
51// if (!empty($_POST)) { 50// if (!empty($_POST)) {