aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-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