aboutsummaryrefslogtreecommitdiff
path: root/public/install.php
diff options
context:
space:
mode:
authorGravatar Alexandre Alapetite <alexandre@alapetite.fr> 2013-12-22 16:39:08 +0100
committerGravatar Alexandre Alapetite <alexandre@alapetite.fr> 2013-12-22 16:39:08 +0100
commit2919b9a0b6c7a9e1c8b5ad7f3b6207bd86de2dbc (patch)
treef1d67d7b907126d301c53acec4414033ca052444 /public/install.php
parent561a7b00888d555fac3d329ca17b24eb4f882454 (diff)
Install.php : default_user obligatoire
Diffstat (limited to 'public/install.php')
-rw-r--r--public/install.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/public/install.php b/public/install.php
index 478650d65..377b2916d 100644
--- a/public/install.php
+++ b/public/install.php
@@ -209,7 +209,8 @@ function saveLanguage () {
function saveStep2 () {
if (!empty ($_POST)) {
if (empty ($_POST['title']) ||
- empty ($_POST['old_entries'])) {
+ empty ($_POST['old_entries']) ||
+ empty ($_POST['default_user']) {
return false;
}
@@ -244,6 +245,7 @@ function saveStep2 () {
header ('Location: index.php?step=3');
}
}
+
function saveStep3 () {
if (!empty ($_POST)) {
if (empty ($_POST['type']) ||