diff options
author | Nicolas LÅ“uillet <nicolas.loeuillet@gmail.com> | 2013-09-20 11:25:44 +0200 |
---|---|---|
committer | Nicolas LÅ“uillet <nicolas.loeuillet@gmail.com> | 2013-09-20 11:25:44 +0200 |
commit | 7bda34c66b8f07284111c2df580cac1c9cae109d (patch) | |
tree | d0fcbdc4386c981d9e0825774e3537cc10d5e678 /inc/poche | |
parent | 2af501566896ba9027830c278ad881daa35cae89 (diff) | |
download | wallabag-7bda34c66b8f07284111c2df580cac1c9cae109d.tar.gz wallabag-7bda34c66b8f07284111c2df580cac1c9cae109d.tar.zst wallabag-7bda34c66b8f07284111c2df580cac1c9cae109d.zip |
help when sqlite file not found
Diffstat (limited to 'inc/poche')
-rw-r--r-- | inc/poche/Poche.class.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/inc/poche/Poche.class.php b/inc/poche/Poche.class.php index 67fbd529..18860ddc 100644 --- a/inc/poche/Poche.class.php +++ b/inc/poche/Poche.class.php | |||
@@ -150,7 +150,7 @@ class Poche | |||
150 | $msg = '<h1>error</h1><p>You don\'t have write access on cache directory.</p>'; | 150 | $msg = '<h1>error</h1><p>You don\'t have write access on cache directory.</p>'; |
151 | } else if (STORAGE == 'sqlite' && ! file_exists(STORAGE_SQLITE)) { | 151 | } else if (STORAGE == 'sqlite' && ! file_exists(STORAGE_SQLITE)) { |
152 | Tools::logm('sqlite file doesn\'t exist'); | 152 | Tools::logm('sqlite file doesn\'t exist'); |
153 | $msg = '<h1>error</h1><p>sqlite file doesn\'t exist, you can find it in install folder.</p>'; | 153 | $msg = '<h1>error</h1><p>sqlite file doesn\'t exist, you can find it in install folder. Copy it in /db folder.</p>'; |
154 | } else if (file_exists(ROOT . '/install/update.php') && ! DEBUG_POCHE) { | 154 | } else if (file_exists(ROOT . '/install/update.php') && ! DEBUG_POCHE) { |
155 | $msg = '<h1>setup</h1><p><strong>It\'s your first time here?</strong> Please copy /install/poche.sqlite in db folder. Then, delete install folder.<br /><strong>If you have already installed poche</strong>, an update is needed <a href="install/update.php">by clicking here</a>.</p>'; | 155 | $msg = '<h1>setup</h1><p><strong>It\'s your first time here?</strong> Please copy /install/poche.sqlite in db folder. Then, delete install folder.<br /><strong>If you have already installed poche</strong>, an update is needed <a href="install/update.php">by clicking here</a>.</p>'; |
156 | } else if (is_dir(ROOT . '/install') && ! DEBUG_POCHE) { | 156 | } else if (is_dir(ROOT . '/install') && ! DEBUG_POCHE) { |