aboutsummaryrefslogtreecommitdiff
path: root/app/install.php
diff options
context:
space:
mode:
authorGravatar Alexandre Alapetite <alexandre@alapetite.fr> 2018-09-08 11:42:18 +0200
committerGravatar GitHub <noreply@github.com> 2018-09-08 11:42:18 +0200
commitde4db714f5d232a80877addd3214c0cd7197c8d4 (patch)
treebe5157c4610539134260fd757028d754e083b37e /app/install.php
parentd6dc888fda91fb079cc45d67873659880cbb4d4d (diff)
MySQL allow dash in database name (#2005)
Allow `-` in database name https://diasp.eu.com/posts/d2e36450847101364cab0007cb0b6c8d
Diffstat (limited to 'app/install.php')
-rw-r--r--app/install.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/install.php b/app/install.php
index 100360f82..eec65be9c 100644
--- a/app/install.php
+++ b/app/install.php
@@ -651,7 +651,7 @@ function printStep3() {
<div class="form-group">
<label class="group-name" for="base"><?php echo _t('install.bdd'); ?></label>
<div class="group-controls">
- <input type="text" id="base" name="base" maxlength="64" pattern="[0-9A-Za-z_]{1,64}" value="<?php echo isset($_SESSION['bd_base']) ? $_SESSION['bd_base'] : ''; ?>" tabindex="5" />
+ <input type="text" id="base" name="base" maxlength="64" pattern="[0-9A-Za-z_-]{1,64}" value="<?php echo isset($_SESSION['bd_base']) ? $_SESSION['bd_base'] : ''; ?>" tabindex="5" />
</div>
</div>