mirror of
https://github.com/wallabag/wallabag.git
synced 2024-12-23 16:10:28 +00:00
Closed #111 : test of install folder moved before
This commit is contained in:
parent
d91787589b
commit
6c15854448
1 changed files with 5 additions and 5 deletions
|
@ -18,6 +18,11 @@ class Poche
|
|||
|
||||
function __construct()
|
||||
{
|
||||
if (file_exists('./install') && !DEBUG_POCHE) {
|
||||
Tools::logm('folder /install exists');
|
||||
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.');
|
||||
}
|
||||
|
||||
$this->store = new Database();
|
||||
$this->init();
|
||||
$this->messages = new Messages();
|
||||
|
@ -31,11 +36,6 @@ class Poche
|
|||
|
||||
private function init()
|
||||
{
|
||||
if (file_exists('./install') && !DEBUG_POCHE) {
|
||||
Tools::logm('folder /install exists');
|
||||
die('the folder /install exists, you have to delete it before using poche.');
|
||||
}
|
||||
|
||||
Tools::initPhp();
|
||||
Session::init();
|
||||
|
||||
|
|
Loading…
Reference in a new issue