Refactor installer
This commit is contained in:
parent
d88dc7484f
commit
69fa6161e5
7 changed files with 186 additions and 170 deletions
|
@ -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}}
|
||||
|
|
|
@ -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}}
|
||||
|
|
|
@ -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}}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue