1
0
Fork 0

Refactor installer

This commit is contained in:
Philipp Holzer 2019-03-14 10:00:05 +01:00 committed by Hypolite Petovan
commit 69fa6161e5
7 changed files with 186 additions and 170 deletions

View file

@ -28,7 +28,7 @@
</table>
{{if $phpath}}
<input type="hidden" name="phpath" value="{{$phpath}}">
<input type="hidden" name="config-php_path" value="{{$php_path}}">
{{/if}}
{{if $passed}}

View file

@ -18,7 +18,7 @@
<form id="install-form" action="{{$baseurl}}/install" method="post">
<input type="hidden" name="phpath" value="{{$phpath}}" />
<input type="hidden" name="config-php_path" value="{{$php_path}}" />
<input type="hidden" name="pass" value="3" />
{{include file="field_input.tpl" field=$dbhost}}

View file

@ -6,11 +6,11 @@
<form id="install-form" action="{{$baseurl}}/install" method="post">
<input type="hidden" name="phpath" value="{{$phpath}}" />
<input type="hidden" name="dbhost" value="{{$dbhost}}" />
<input type="hidden" name="dbuser" value="{{$dbuser}}" />
<input type="hidden" name="dbpass" value="{{$dbpass}}" />
<input type="hidden" name="dbdata" value="{{$dbdata}}" />
<input type="hidden" name="config-php_path" value="{{$php_path}}" />
<input type="hidden" name="database-hostname" value="{{$dbhost}}" />
<input type="hidden" name="database-username" value="{{$dbuser}}" />
<input type="hidden" name="database-password" value="{{$dbpass}}" />
<input type="hidden" name="database-database" value="{{$dbdata}}" />
<input type="hidden" name="pass" value="4" />
{{include file="field_input.tpl" field=$adminmail}}