diff options
Diffstat (limited to 'inc/config.php')
-rw-r--r-- | inc/config.php | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/inc/config.php b/inc/config.php index b78147ab..495dbb85 100644 --- a/inc/config.php +++ b/inc/config.php | |||
@@ -24,15 +24,14 @@ define ('LANG', 'fr_FR.UTF8'); | |||
24 | $storage_type = 'sqlite'; # sqlite, file | 24 | $storage_type = 'sqlite'; # sqlite, file |
25 | 25 | ||
26 | # /!\ Be careful if you change the lines below /!\ | 26 | # /!\ Be careful if you change the lines below /!\ |
27 | |||
28 | require_once 'poche/pocheTools.class.php'; | 27 | require_once 'poche/pocheTools.class.php'; |
29 | require_once 'poche/pocheCore.php'; | 28 | require_once 'poche/pocheCore.php'; |
30 | require_once '3rdparty/Readability.php'; | 29 | require_once '3rdparty/Readability.php'; |
31 | require_once '3rdparty/Encoding.php'; | 30 | require_once '3rdparty/Encoding.php'; |
32 | require_once '3rdparty/Session.class.php'; | 31 | require_once '3rdparty/Session.class.php'; |
33 | require_once '3rdparty/Twig/Autoloader.php'; | ||
34 | require_once 'store/store.class.php'; | 32 | require_once 'store/store.class.php'; |
35 | require_once 'store/' . $storage_type . '.class.php'; | 33 | require_once 'store/' . $storage_type . '.class.php'; |
34 | require_once './vendor/autoload.php'; | ||
36 | 35 | ||
37 | if (DOWNLOAD_PICTURES) { | 36 | if (DOWNLOAD_PICTURES) { |
38 | require_once 'poche/pochePicture.php'; | 37 | require_once 'poche/pochePicture.php'; |
@@ -45,7 +44,7 @@ bindtextdomain(LANG, LOCALE); | |||
45 | textdomain(LANG); | 44 | textdomain(LANG); |
46 | 45 | ||
47 | # template engine | 46 | # template engine |
48 | Twig_Autoloader::register(); | 47 | // Twig_Autoloader::register(); |
49 | $loader = new Twig_Loader_Filesystem(TPL); | 48 | $loader = new Twig_Loader_Filesystem(TPL); |
50 | $twig = new Twig_Environment($loader, array( | 49 | $twig = new Twig_Environment($loader, array( |
51 | 'cache' => CACHE, | 50 | 'cache' => CACHE, |