aboutsummaryrefslogtreecommitdiffhomepage
path: root/inc
diff options
context:
space:
mode:
authorNicolas LÅ“uillet <nicolas.loeuillet@gmail.com>2013-08-08 09:11:12 +0200
committerNicolas LÅ“uillet <nicolas.loeuillet@gmail.com>2013-08-08 09:11:12 +0200
commited06f040776d5e2f38b938005ebc2b09ddd41bd4 (patch)
tree898818d8ee3127a3c9e930ad839be03c9626fd9b /inc
parent7aa8ccc47d511f62fc46af53f7fc43d9bedebff3 (diff)
downloadwallabag-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.php5
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