diff options
Diffstat (limited to 'inc/poche/config.inc.php')
-rw-r--r-- | inc/poche/config.inc.php | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/inc/poche/config.inc.php b/inc/poche/config.inc.php index d49df190..d91a44be 100644 --- a/inc/poche/config.inc.php +++ b/inc/poche/config.inc.php | |||
@@ -8,7 +8,7 @@ | |||
8 | * @license http://www.wtfpl.net/ see COPYING file | 8 | * @license http://www.wtfpl.net/ see COPYING file |
9 | */ | 9 | */ |
10 | 10 | ||
11 | define ('POCHE_VERSION', '1.0-alpha'); | 11 | define ('POCHE_VERSION', '1.0-beta'); |
12 | define ('MODE_DEMO', FALSE); | 12 | define ('MODE_DEMO', FALSE); |
13 | define ('DEBUG_POCHE', FALSE); | 13 | define ('DEBUG_POCHE', FALSE); |
14 | define ('CONVERT_LINKS_FOOTNOTES', FALSE); | 14 | define ('CONVERT_LINKS_FOOTNOTES', FALSE); |
@@ -22,24 +22,26 @@ define ('TPL', './tpl'); | |||
22 | define ('LOCALE', './locale'); | 22 | define ('LOCALE', './locale'); |
23 | define ('CACHE', './cache'); | 23 | define ('CACHE', './cache'); |
24 | define ('LANG', 'fr_FR.UTF8'); | 24 | define ('LANG', 'fr_FR.UTF8'); |
25 | define ('PAGINATION', '10'); | ||
26 | define ('THEME', 'light'); | ||
25 | $storage_type = 'sqlite'; # sqlite, mysql, (file, not yet) | 27 | $storage_type = 'sqlite'; # sqlite, mysql, (file, not yet) |
26 | 28 | ||
27 | # /!\ Be careful if you change the lines below /!\ | 29 | # /!\ Be careful if you change the lines below /!\ |
28 | require_once './inc/poche/Tools.class.php'; | 30 | require_once './inc/poche/Tools.class.php'; |
29 | require_once './inc/poche/Url.class.php'; | 31 | require_once './inc/poche/Url.class.php'; |
32 | require_once './inc/3rdparty/Session.class.php'; | ||
33 | require_once './inc/3rdparty/class.messages.php'; | ||
30 | require_once './inc/poche/Poche.class.php'; | 34 | require_once './inc/poche/Poche.class.php'; |
31 | require_once './inc/3rdparty/Readability.php'; | 35 | require_once './inc/3rdparty/Readability.php'; |
32 | require_once './inc/3rdparty/Encoding.php'; | 36 | require_once './inc/3rdparty/Encoding.php'; |
33 | require_once './inc/3rdparty/Session.class.php'; | ||
34 | require_once './inc/store/store.class.php'; | 37 | require_once './inc/store/store.class.php'; |
35 | require_once './inc/store/' . $storage_type . '.class.php'; | 38 | require_once './inc/store/' . $storage_type . '.class.php'; |
36 | require_once './vendor/autoload.php'; | 39 | require_once './vendor/autoload.php'; |
37 | require_once './inc/3rdparty/simple_html_dom.php'; | 40 | require_once './inc/3rdparty/simple_html_dom.php'; |
38 | require_once './inc/3rdparty/class.messages.php'; | 41 | require_once './inc/3rdparty/paginator.php'; |
39 | 42 | ||
40 | if (DOWNLOAD_PICTURES) { | 43 | if (DOWNLOAD_PICTURES) { |
41 | require_once './inc/poche/pochePictures.php'; | 44 | require_once './inc/poche/pochePictures.php'; |
42 | } | 45 | } |
43 | 46 | ||
44 | $poche = new Poche($storage_type); | 47 | $poche = new Poche($storage_type); \ No newline at end of file |
45 | $poche->messages = new Messages(); \ No newline at end of file | ||