aboutsummaryrefslogtreecommitdiffhomepage
path: root/inc/poche/config.inc.php
diff options
context:
space:
mode:
authorNicolas LÅ“uillet <nicolas.loeuillet@gmail.com>2013-08-17 11:27:13 -0700
committerNicolas LÅ“uillet <nicolas.loeuillet@gmail.com>2013-08-17 11:27:13 -0700
commit7ba37bd91a43321196e6d867caf9e298e82c6d6c (patch)
tree280b6c5d270c28457219859f189e3cb6c3895939 /inc/poche/config.inc.php
parent667009727a38890eb651815843c1bc02869a4119 (diff)
parent9067b484ce8289eec6979cf6c8e3cbfb3bd5b10c (diff)
downloadwallabag-7ba37bd91a43321196e6d867caf9e298e82c6d6c.tar.gz
wallabag-7ba37bd91a43321196e6d867caf9e298e82c6d6c.tar.zst
wallabag-7ba37bd91a43321196e6d867caf9e298e82c6d6c.zip
Merge pull request #141 from inthepoche/dev1.0-beta3
beta3
Diffstat (limited to 'inc/poche/config.inc.php')
-rwxr-xr-x[-rw-r--r--]inc/poche/config.inc.php57
1 files changed, 20 insertions, 37 deletions
diff --git a/inc/poche/config.inc.php b/inc/poche/config.inc.php
index 321784d7..4122ff10 100644..100755
--- a/inc/poche/config.inc.php
+++ b/inc/poche/config.inc.php
@@ -8,47 +8,30 @@
8 * @license http://www.wtfpl.net/ see COPYING file 8 * @license http://www.wtfpl.net/ see COPYING file
9 */ 9 */
10 10
11# storage 11require_once __DIR__ . '/../../inc/poche/define.inc.php';
12define ('STORAGE','sqlite'); # postgres, mysql, sqlite
13define ('STORAGE_SERVER', 'localhost'); # leave blank for sqlite
14define ('STORAGE_DB', 'poche'); # only for postgres & mysql
15define ('STORAGE_SQLITE', './db/poche.sqlite');
16define ('STORAGE_USER', 'postgres'); # leave blank for sqlite
17define ('STORAGE_PASSWORD', 'postgres'); # leave blank for sqlite
18
19define ('POCHE_VERSION', '1.0-beta1');
20define ('MODE_DEMO', FALSE);
21define ('DEBUG_POCHE', FALSE);
22define ('CONVERT_LINKS_FOOTNOTES', FALSE);
23define ('REVERT_FORCED_PARAGRAPH_ELEMENTS', FALSE);
24define ('DOWNLOAD_PICTURES', FALSE);
25define ('SHARE_TWITTER', TRUE);
26define ('SHARE_MAIL', TRUE);
27define ('SALT', '464v54gLLw928uz4zUBqkRJeiPY68zCX');
28define ('ABS_PATH', 'assets/');
29define ('TPL', './tpl');
30define ('LOCALE', './locale');
31define ('CACHE', './cache');
32define ('LANG', 'en_EN.UTF8');
33define ('PAGINATION', '10');
34define ('THEME', 'light');
35 12
36# /!\ Be careful if you change the lines below /!\ 13# /!\ Be careful if you change the lines below /!\
37require_once './inc/poche/User.class.php'; 14if (!file_exists(__DIR__ . '/../../vendor/autoload.php')) {
38require_once './inc/poche/Tools.class.php'; 15 die('Twig does not seem installed. Have a look at <a href="http://inthepoche.com/?pages/Documentation">the documentation.</a>');
39require_once './inc/poche/Url.class.php'; 16}
40require_once './inc/3rdparty/class.messages.php'; 17
41require_once './inc/poche/Poche.class.php'; 18if (file_exists(__DIR__ . '/../../inc/poche/myconfig.inc.php')) {
42require_once './inc/3rdparty/Readability.php'; 19 require_once __DIR__ . '/../../inc/poche/myconfig.inc.php';
43require_once './inc/3rdparty/Encoding.php'; 20}
44require_once './inc/poche/Database.class.php'; 21require_once __DIR__ . '/../../inc/poche/User.class.php';
45require_once './vendor/autoload.php'; 22require_once __DIR__ . '/../../inc/poche/Url.class.php';
46require_once './inc/3rdparty/simple_html_dom.php'; 23require_once __DIR__ . '/../../inc/3rdparty/class.messages.php';
47require_once './inc/3rdparty/paginator.php'; 24require_once __DIR__ . '/../../inc/poche/Poche.class.php';
48require_once './inc/3rdparty/Session.class.php'; 25require_once __DIR__ . '/../../inc/3rdparty/Readability.php';
26require_once __DIR__ . '/../../inc/3rdparty/Encoding.php';
27require_once __DIR__ . '/../../inc/poche/Database.class.php';
28require_once __DIR__ . '/../../vendor/autoload.php';
29require_once __DIR__ . '/../../inc/3rdparty/simple_html_dom.php';
30require_once __DIR__ . '/../../inc/3rdparty/paginator.php';
31require_once __DIR__ . '/../../inc/3rdparty/Session.class.php';
49 32
50if (DOWNLOAD_PICTURES) { 33if (DOWNLOAD_PICTURES) {
51 require_once './inc/poche/pochePictures.php'; 34 require_once __DIR__ . '/../../inc/poche/pochePictures.php';
52} 35}
53 36
54$poche = new Poche(); 37$poche = new Poche();