git.p6c8.net
/
jirafeau.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add support for the X-Sendfile header/module to offload downloads.
[jirafeau.git]
/
install.php
diff --git
a/install.php
b/install.php
index a5e542027c4623e17832fa87336f568c91946dc4..705f3d645559848524e7493c3612227a936367f9 100644
(file)
--- a/
install.php
+++ b/
install.php
@@
-120,7
+120,7
@@
default:
><?php echo t('ADMIN_PSW') . ':';
?></label></td>
<td class = "field"><input type = "password" name = "admin_password"
><?php echo t('ADMIN_PSW') . ':';
?></label></td>
<td class = "field"><input type = "password" name = "admin_password"
- id = "admin_password" size = "40" /></td>
+ id = "admin_password" size = "40"
autocomplete = "new-password"
/></td>
</tr>
<tr class = "nav">
<td></td>
</tr>
<tr class = "nav">
<td></td>
@@
-148,12
+148,7
@@
case 2:
?></label></td>
<td class = "field"><input type = "text" name = "web_root"
id = "input_web_root" value = "<?php
?></label></td>
<td class = "field"><input type = "text" name = "web_root"
id = "input_web_root" value = "<?php
- echo(empty($cfg['web_root']) ?
- $_SERVER['HTTP_HOST'] . str_replace(
- basename(__FILE__),
- '',
- $_SERVER['REQUEST_URI']
- ) : $cfg['web_root']);
+ echo(empty($cfg['web_root']) ? jirafeau_default_web_root() : $cfg['web_root']);
?>" size = "40" /></td>
</tr> <tr> <td class = "info" colspan = "2"><?php
echo t('DATA_DIR_EXPLAINATION');
?>" size = "40" /></td>
</tr> <tr> <td class = "info" colspan = "2"><?php
echo t('DATA_DIR_EXPLAINATION');
patrick-canterino.de