summaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authorkondou <kondou@ts.unde.re>2013-04-13 15:56:01 +0200
committerkondou <kondou@ts.unde.re>2013-04-13 15:56:01 +0200
commitd759dca2038c669a59168a168a1e047392a157b4 (patch)
tree80b838ae39ee9324943b707afe9bb144959104ec /core
parentf9e7d4ce2525cc4a101e36ae4aec41aabd69a902 (diff)
downloadnextcloud-server-d759dca2038c669a59168a168a1e047392a157b4.tar.gz
nextcloud-server-d759dca2038c669a59168a168a1e047392a157b4.zip
Handle empty datafolder better.
If datafolder is erased, the default value will be shown as a placeholder. If installation is submitted without a datafolder the default value will be used.
Diffstat (limited to 'core')
-rw-r--r--core/templates/installation.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/core/templates/installation.php b/core/templates/installation.php
index c70903cba55..79510042307 100644
--- a/core/templates/installation.php
+++ b/core/templates/installation.php
@@ -63,6 +63,7 @@
<div id="datadirContent">
<label for="directory"><?php p($l->t( 'Data folder' )); ?></label>
<input type="text" name="directory" id="directory"
+ placeholder="<?php p(OC_Helper::init_var('directory', $_['directory'])); ?>"
value="<?php p(OC_Helper::init_var('directory', $_['directory'])); ?>" />
</div>
</fieldset>