diff --git a/inc/poche/Poche.class.php b/inc/poche/Poche.class.php index e0dc0d201..4832f8168 100644 --- a/inc/poche/Poche.class.php +++ b/inc/poche/Poche.class.php @@ -47,16 +47,16 @@ class Poche die('You don\'t have write access on cache directory.'); } else if (file_exists('./install/update.php') && !DEBUG_POCHE) { - $msg = 'A poche update is needed. Please execute this update by clicking here. If you have already do the update, please delete /install folder.'; + $msg = '
It\'s your first time here? Please copy /install/poche.sqlite in db folder. Then, delete install folder.
If you have already installed poche, an update is needed by clicking here.
If you want to update your poche, you just have to delete /install folder.
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.
You don\'t have write access on sqlite file.
'; $allIsGood = FALSE; } diff --git a/install/update.php b/install/update_to_1beta3.php similarity index 100% rename from install/update.php rename to install/update_to_1beta3.php diff --git a/tpl/error.twig b/tpl/error.twig index 84c3bc1c2..14c499254 100644 --- a/tpl/error.twig +++ b/tpl/error.twig @@ -1,7 +1,6 @@ {% extends "layout.twig" %} -{% block title %}{% trans "error" %}{% endblock %} +{% block title %}{% trans "plop" %}{% endblock %} {% block content %} -{{ msg|raw }}
+ {{ msg|raw }}Don't forget the documentation.
{% endblock %} \ No newline at end of file