diff options
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 | ||