diff options
author | Nicolas LÅ“uillet <nicolas.loeuillet@gmail.com> | 2013-08-07 14:24:07 +0200 |
---|---|---|
committer | Nicolas LÅ“uillet <nicolas.loeuillet@gmail.com> | 2013-08-07 14:24:07 +0200 |
commit | bc1ee8524e0769ad37e3c4c02cfe96d2f60e52f6 (patch) | |
tree | 5ea9d0f0560e84c07ab84c86b9e5fd4dd6ebb039 /inc/poche/config.inc.php | |
parent | 8d3275bee488d058c6ff0efe6e81d20a584d3709 (diff) | |
download | wallabag-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.php | 7 |
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'); | |||
24 | define ('LANG', 'en_EN.UTF8'); | 24 | define ('LANG', 'en_EN.UTF8'); |
25 | define ('PAGINATION', '10'); | 25 | define ('PAGINATION', '10'); |
26 | define ('THEME', 'light'); | 26 | define ('THEME', 'light'); |
27 | $storage_type = 'sqlite'; # sqlite, mysql, (file, not yet) | 27 | define ('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 /!\ |
30 | require_once './inc/poche/User.class.php'; | 30 | require_once './inc/poche/User.class.php'; |
@@ -34,8 +34,7 @@ require_once './inc/3rdparty/class.messages.php'; | |||
34 | require_once './inc/poche/Poche.class.php'; | 34 | require_once './inc/poche/Poche.class.php'; |
35 | require_once './inc/3rdparty/Readability.php'; | 35 | require_once './inc/3rdparty/Readability.php'; |
36 | require_once './inc/3rdparty/Encoding.php'; | 36 | require_once './inc/3rdparty/Encoding.php'; |
37 | require_once './inc/store/store.class.php'; | 37 | require_once './inc/poche/Database.class.php'; |
38 | require_once './inc/store/' . $storage_type . '.class.php'; | ||
39 | require_once './vendor/autoload.php'; | 38 | require_once './vendor/autoload.php'; |
40 | require_once './inc/3rdparty/simple_html_dom.php'; | 39 | require_once './inc/3rdparty/simple_html_dom.php'; |
41 | require_once './inc/3rdparty/paginator.php'; | 40 | require_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)) { |