diff options
Diffstat (limited to 'install/index.php')
-rwxr-xr-x | install/index.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/install/index.php b/install/index.php index 31c15f89..94cf50ac 100755 --- a/install/index.php +++ b/install/index.php | |||
@@ -68,7 +68,7 @@ else if (isset($_POST['install'])) { | |||
68 | 68 | ||
69 | if ($_POST['db_engine'] == 'sqlite') { | 69 | if ($_POST['db_engine'] == 'sqlite') { |
70 | if (!copy('install/poche.sqlite', 'db/poche.sqlite')) { | 70 | if (!copy('install/poche.sqlite', 'db/poche.sqlite')) { |
71 | $errors[] = 'Impossible to create the SQLite database file.'; | 71 | $errors[] = 'Impossible to create the SQLite database file. Please check your file permissions.'; |
72 | } | 72 | } |
73 | else { | 73 | else { |
74 | $db_path = 'sqlite:' . realpath('') . '/db/poche.sqlite'; | 74 | $db_path = 'sqlite:' . realpath('') . '/db/poche.sqlite'; |
@@ -160,7 +160,7 @@ else if (isset($_POST['install'])) { | |||
160 | 160 | ||
161 | 161 | ||
162 | if (!copy('inc/poche/config.inc.default.php', 'inc/poche/config.inc.php')) { | 162 | if (!copy('inc/poche/config.inc.default.php', 'inc/poche/config.inc.php')) { |
163 | $errors[] = 'Installation aborted, impossible to create inc/poche/config.inc.php file. Maybe you don\'t have write access to create it.'; | 163 | $errors[] = 'Installation aborted, impossible to create inc/poche/config.inc.php file. Maybe you don\'t have write access to create it. Check your file permissions.'; |
164 | } else { | 164 | } else { |
165 | if ($_POST['db_engine'] != 'sqlite') { | 165 | if ($_POST['db_engine'] != 'sqlite') { |
166 | $content = str_replace("define ('STORAGE', 'sqlite');", "define ('STORAGE', '".$_POST['db_engine']."');", $content); | 166 | $content = str_replace("define ('STORAGE', 'sqlite');", "define ('STORAGE', '".$_POST['db_engine']."');", $content); |
@@ -407,7 +407,7 @@ border: 1px solid #000; | |||
407 | <div class='messages success install'> | 407 | <div class='messages success install'> |
408 | <p> | 408 | <p> |
409 | <a href="index.php?clean=0">Click here to finish update.</a><br> | 409 | <a href="index.php?clean=0">Click here to finish update.</a><br> |
410 | If it fails, just delete the install directory. | 410 | If it fails, check your file permissions or just delete the install directory. |
411 | </p> | 411 | </p> |
412 | <p>You may have to clear cache (by going into config screen) after update.</p> | 412 | <p>You may have to clear cache (by going into config screen) after update.</p> |
413 | </div> | 413 | </div> |