mirror of
https://git.sekbaer.de/Friendica/friendica.git
synced 2025-06-12 01:54:26 +02:00
Adding basepath, urlpath, hostname and ssl_policy to installation
This commit is contained in:
parent
19f474f50d
commit
90a38a00d8
20 changed files with 380 additions and 127 deletions
34
view/templates/install_base.tpl
Normal file
34
view/templates/install_base.tpl
Normal file
|
@ -0,0 +1,34 @@
|
|||
<h1><img src="{{$baseurl}}/images/friendica-32.png"> {{$title}}</h1>
|
||||
<h2>{{$pass}}</h2>
|
||||
|
||||
<p>
|
||||
{{$info_01}}<br>
|
||||
{{$info_02}}<br>
|
||||
{{$info_03}}
|
||||
</p>
|
||||
|
||||
<table>
|
||||
{{foreach $checks as $check}}
|
||||
<tr><td>{{$check.title}} </td><td>
|
||||
{{if ! $check.status}}
|
||||
<img src="{{$baseurl}}/view/install/red.png" alt="Requirement not satisfied">
|
||||
{{/if}}
|
||||
{{/foreach}}
|
||||
</table>
|
||||
|
||||
<form id="install-form" action="{{$baseurl}}/install" method="post">
|
||||
|
||||
<input type="hidden" name="config-php_path" value="{{$php_path}}" />
|
||||
<input type="hidden" name="pass" value="3" />
|
||||
|
||||
{{include file="field_select.tpl" field=$ssl_policy}}
|
||||
<br />
|
||||
{{include file="field_input.tpl" field=$hostname}}
|
||||
<br />
|
||||
{{include file="field_input.tpl" field=$basepath}}
|
||||
<br />
|
||||
{{include file="field_input.tpl" field=$urlpath}}
|
||||
|
||||
<input id="install-submit" type="submit" name="submit" value="{{$submit}}" />
|
||||
|
||||
</form>
|
|
@ -19,7 +19,11 @@
|
|||
<form id="install-form" action="{{$baseurl}}/install" method="post">
|
||||
|
||||
<input type="hidden" name="config-php_path" value="{{$php_path}}" />
|
||||
<input type="hidden" name="pass" value="3" />
|
||||
<input type="hidden" name="config-hostname" value="{{$hostname}}" />
|
||||
<input type="hidden" name="system-ssl_policy" value="{{$ssl_policy}}" />
|
||||
<input type="hidden" name="system-basepath" value="{{$basepath}}" />
|
||||
<input type="hidden" name="system-urlpath" value="{{$urlpath}}" />
|
||||
<input type="hidden" name="pass" value="4" />
|
||||
|
||||
{{include file="field_input.tpl" field=$dbhost}}
|
||||
{{include file="field_input.tpl" field=$dbuser}}
|
||||
|
|
|
@ -7,14 +7,18 @@
|
|||
<form id="install-form" action="{{$baseurl}}/install" method="post">
|
||||
|
||||
<input type="hidden" name="config-php_path" value="{{$php_path}}" />
|
||||
<input type="hidden" name="config-hostname" value="{{$hostname}}" />
|
||||
<input type="hidden" name="system-ssl_policy" value="{{$ssl_policy}}" />
|
||||
<input type="hidden" name="system-basepath" value="{{$basepath}}" />
|
||||
<input type="hidden" name="system-urlpath" value="{{$urlpath}}" />
|
||||
<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" />
|
||||
<input type="hidden" name="pass" value="5" />
|
||||
|
||||
{{include file="field_input.tpl" field=$adminmail}}
|
||||
{{$timezone nofilter}}
|
||||
{{include file="field_input.tpl" field=$adminmail}} <br />
|
||||
{{$timezone nofilter}} <br />
|
||||
{{include file="field_select.tpl" field=$language}}
|
||||
|
||||
<input id="install-submit" type="submit" name="submit" value="{{$submit}}" />
|
||||
|
|
|
@ -24,11 +24,14 @@ return [
|
|||
'php_path' => '{{$phpath}}',
|
||||
'admin_email' => '{{$adminmail}}',
|
||||
'sitename' => 'Friendica Social Network',
|
||||
'hostname' => '{{$hostname}}',
|
||||
'register_policy' => \Friendica\Module\Register::OPEN,
|
||||
'max_import_size' => 200000,
|
||||
],
|
||||
'system' => [
|
||||
'urlpath' => '{{$urlpath}}',
|
||||
'url' => '{{$baseurl}}',
|
||||
'ssl_policy' => {{$sslpolicy}},
|
||||
'basepath' => '{{$basepath}}',
|
||||
'default_timezone' => '{{$timezone}}',
|
||||
'language' => '{{$language}}',
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue