diff options
author | Nicolas LÅ“uillet <nicolas.loeuillet@gmail.com> | 2013-08-15 10:54:14 +0200 |
---|---|---|
committer | Nicolas LÅ“uillet <nicolas.loeuillet@gmail.com> | 2013-08-15 10:54:14 +0200 |
commit | 4a2912880f0914b456711d695f96ce2ace18c814 (patch) | |
tree | 6a2532f63eb1f443f9358f36a76b8427e377abd3 /inc/poche/config.inc.php | |
parent | ca1b0a1a6fb9b331c631df32d132736c9c627ac4 (diff) | |
download | wallabag-4a2912880f0914b456711d695f96ce2ace18c814.tar.gz wallabag-4a2912880f0914b456711d695f96ce2ace18c814.tar.zst wallabag-4a2912880f0914b456711d695f96ce2ace18c814.zip |
more verif while installing
Diffstat (limited to 'inc/poche/config.inc.php')
-rw-r--r-- | inc/poche/config.inc.php | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/inc/poche/config.inc.php b/inc/poche/config.inc.php index ba8a9fa0..ecbf1ce6 100644 --- a/inc/poche/config.inc.php +++ b/inc/poche/config.inc.php | |||
@@ -34,6 +34,10 @@ define ('PAGINATION', '10'); | |||
34 | define ('THEME', 'light'); | 34 | define ('THEME', 'light'); |
35 | 35 | ||
36 | # /!\ Be careful if you change the lines below /!\ | 36 | # /!\ Be careful if you change the lines below /!\ |
37 | if (!file_exists('./vendor/autoload.php')) { | ||
38 | die('Twig does not seem installed. Have a look at <a href="http://inthepoche.com/?pages/Documentation">the documentation.</a>'); | ||
39 | } | ||
40 | |||
37 | require_once './inc/poche/User.class.php'; | 41 | require_once './inc/poche/User.class.php'; |
38 | require_once './inc/poche/Tools.class.php'; | 42 | require_once './inc/poche/Tools.class.php'; |
39 | require_once './inc/poche/Url.class.php'; | 43 | require_once './inc/poche/Url.class.php'; |