aboutsummaryrefslogtreecommitdiffhomepage
path: root/inc/poche/config.inc.php
diff options
context:
space:
mode:
authorNicolas LÅ“uillet <nicolas.loeuillet@gmail.com>2013-08-16 20:19:31 +0200
committerNicolas LÅ“uillet <nicolas.loeuillet@gmail.com>2013-08-16 20:19:31 +0200
commitbb5a7d9ede48558c6f096dc3c8e267f12513ec4e (patch)
treefb85a197e1916c9a4e880edfabd0f99e25b23750 /inc/poche/config.inc.php
parent1c9cd3463b820b874610f4fd13e0193dc9e6429c (diff)
downloadwallabag-bb5a7d9ede48558c6f096dc3c8e267f12513ec4e.tar.gz
wallabag-bb5a7d9ede48558c6f096dc3c8e267f12513ec4e.tar.zst
wallabag-bb5a7d9ede48558c6f096dc3c8e267f12513ec4e.zip
updating script
Diffstat (limited to 'inc/poche/config.inc.php')
-rwxr-xr-x[-rw-r--r--]inc/poche/config.inc.php57
1 files changed, 18 insertions, 39 deletions
diff --git a/inc/poche/config.inc.php b/inc/poche/config.inc.php
index ecbf1ce6..4122ff10 100644..100755
--- a/inc/poche/config.inc.php
+++ b/inc/poche/config.inc.php
@@ -8,51 +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-beta2');
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 /!\
37if (!file_exists('./vendor/autoload.php')) { 14if (!file_exists(__DIR__ . '/../../vendor/autoload.php')) {
38 die('Twig does not seem installed. Have a look at <a href="http://inthepoche.com/?pages/Documentation">the documentation.</a>'); 15 die('Twig does not seem installed. Have a look at <a href="http://inthepoche.com/?pages/Documentation">the documentation.</a>');
39} 16}
40 17
41require_once './inc/poche/User.class.php'; 18if (file_exists(__DIR__ . '/../../inc/poche/myconfig.inc.php')) {
42require_once './inc/poche/Tools.class.php'; 19 require_once __DIR__ . '/../../inc/poche/myconfig.inc.php';
43require_once './inc/poche/Url.class.php'; 20}
44require_once './inc/3rdparty/class.messages.php'; 21require_once __DIR__ . '/../../inc/poche/User.class.php';
45require_once './inc/poche/Poche.class.php'; 22require_once __DIR__ . '/../../inc/poche/Url.class.php';
46require_once './inc/3rdparty/Readability.php'; 23require_once __DIR__ . '/../../inc/3rdparty/class.messages.php';
47require_once './inc/3rdparty/Encoding.php'; 24require_once __DIR__ . '/../../inc/poche/Poche.class.php';
48require_once './inc/poche/Database.class.php'; 25require_once __DIR__ . '/../../inc/3rdparty/Readability.php';
49require_once './vendor/autoload.php'; 26require_once __DIR__ . '/../../inc/3rdparty/Encoding.php';
50require_once './inc/3rdparty/simple_html_dom.php'; 27require_once __DIR__ . '/../../inc/poche/Database.class.php';
51require_once './inc/3rdparty/paginator.php'; 28require_once __DIR__ . '/../../vendor/autoload.php';
52require_once './inc/3rdparty/Session.class.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';
53 32
54if (DOWNLOAD_PICTURES) { 33if (DOWNLOAD_PICTURES) {
55 require_once './inc/poche/pochePictures.php'; 34 require_once __DIR__ . '/../../inc/poche/pochePictures.php';
56} 35}
57 36
58$poche = new Poche(); 37$poche = new Poche();