aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorNicolas LÅ“uillet <nicolas.loeuillet@gmail.com>2013-08-09 11:47:37 +0200
committerNicolas LÅ“uillet <nicolas.loeuillet@gmail.com>2013-08-09 11:47:37 +0200
commit6c15854448d0977d54d9e8698b6ee7e4af8ec476 (patch)
treed22305856ad66f9ef307da67c108cc2f31e4ce26
parentd91787589bfd7541a99032cc23243165dc1572c4 (diff)
downloadwallabag-6c15854448d0977d54d9e8698b6ee7e4af8ec476.tar.gz
wallabag-6c15854448d0977d54d9e8698b6ee7e4af8ec476.tar.zst
wallabag-6c15854448d0977d54d9e8698b6ee7e4af8ec476.zip
Closed #111 : test of install folder moved before
-rw-r--r--inc/poche/Poche.class.php10
1 files changed, 5 insertions, 5 deletions
diff --git a/inc/poche/Poche.class.php b/inc/poche/Poche.class.php
index 78747e32..dc8dbbbb 100644
--- a/inc/poche/Poche.class.php
+++ b/inc/poche/Poche.class.php
@@ -18,6 +18,11 @@ class Poche
18 18
19 function __construct() 19 function __construct()
20 { 20 {
21 if (file_exists('./install') && !DEBUG_POCHE) {
22 Tools::logm('folder /install exists');
23 die('To install your poche with sqlite, copy /install/poche.sqlite in /db and delete the folder /install. you have to delete the /install folder before using poche.');
24 }
25
21 $this->store = new Database(); 26 $this->store = new Database();
22 $this->init(); 27 $this->init();
23 $this->messages = new Messages(); 28 $this->messages = new Messages();
@@ -31,11 +36,6 @@ class Poche
31 36
32 private function init() 37 private function init()
33 { 38 {
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
39 Tools::initPhp(); 39 Tools::initPhp();
40 Session::init(); 40 Session::init();
41 41