diff options
author | Nicolas LÅ“uillet <nicolas.loeuillet@gmail.com> | 2013-08-08 09:11:12 +0200 |
---|---|---|
committer | Nicolas LÅ“uillet <nicolas.loeuillet@gmail.com> | 2013-08-08 09:11:12 +0200 |
commit | ed06f040776d5e2f38b938005ebc2b09ddd41bd4 (patch) | |
tree | 898818d8ee3127a3c9e930ad839be03c9626fd9b /inc | |
parent | 7aa8ccc47d511f62fc46af53f7fc43d9bedebff3 (diff) | |
download | wallabag-ed06f040776d5e2f38b938005ebc2b09ddd41bd4.tar.gz wallabag-ed06f040776d5e2f38b938005ebc2b09ddd41bd4.tar.zst wallabag-ed06f040776d5e2f38b938005ebc2b09ddd41bd4.zip |
test if /install exists
Diffstat (limited to 'inc')
-rw-r--r-- | inc/poche/Poche.class.php | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/inc/poche/Poche.class.php b/inc/poche/Poche.class.php index 38b4a98e..0439f301 100644 --- a/inc/poche/Poche.class.php +++ b/inc/poche/Poche.class.php | |||
@@ -31,6 +31,11 @@ class Poche | |||
31 | 31 | ||
32 | private function init() | 32 | private function init() |
33 | { | 33 | { |
34 | if (file_exists('./install') && !DEBUG_POCHE) { | ||
35 | Tools::logm('folder /install exists'); | ||
36 | die('the folder /install exists, you have to delete it before using poche.'); | ||
37 | } | ||
38 | |||
34 | Tools::initPhp(); | 39 | Tools::initPhp(); |
35 | Session::init(); | 40 | Session::init(); |
36 | 41 | ||