From a1fedaf51443d6f9032feac827b9d533b1b1e679 Mon Sep 17 00:00:00 2001
From: Philipp <admin@philipp.info>
Date: Sun, 19 Feb 2023 11:29:29 +0100
Subject: [PATCH] adapt install path

---
 view/templates/install/01_checks.tpl          | 2 +-
 view/templates/install/02_base_config.tpl     | 2 +-
 view/templates/install/03_database_config.tpl | 2 +-
 view/templates/install/04_site_settings.tpl   | 2 +-
 4 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/view/templates/install/01_checks.tpl b/view/templates/install/01_checks.tpl
index 9e8f2b4dbe..26f47daad5 100644
--- a/view/templates/install/01_checks.tpl
+++ b/view/templates/install/01_checks.tpl
@@ -1,7 +1,7 @@
 
 <h1><img width="32" height="32" src="{{$baseurl}}/images/friendica.svg"> {{$title}}</h1>
 <h2>{{$pass}}</h2>
-<form  action="{{$baseurl}}/install" method="post">
+<form  action="{{$baseurl}}/index.php?pagename=install" method="post">
 <table>
 {{foreach $checks as $check}}
 	<tr><td>{{$check.title nofilter}} </td><td>
diff --git a/view/templates/install/02_base_config.tpl b/view/templates/install/02_base_config.tpl
index b1269cd32e..27f4b78a73 100644
--- a/view/templates/install/02_base_config.tpl
+++ b/view/templates/install/02_base_config.tpl
@@ -7,7 +7,7 @@
 	{{$info_03}}
 </p>
 
-<form id="install-form" action="{{$baseurl}}/install" method="post">
+<form id="install-form" action="{{$baseurl}}/index.php?pagename=install" method="post">
 
 	<input type="hidden" name="config-php_path" value="{{$php_path}}" />
 	<input type="hidden" name="pass" value="3" />
diff --git a/view/templates/install/03_database_config.tpl b/view/templates/install/03_database_config.tpl
index 20eeab5134..a5f6f58069 100644
--- a/view/templates/install/03_database_config.tpl
+++ b/view/templates/install/03_database_config.tpl
@@ -19,7 +19,7 @@
 	{{/foreach}}
 </table>
 
-<form id="install-form" action="{{$baseurl}}/install" method="post">
+<form id="install-form" action="{{$baseurl}}/index.php?pagename=install" method="post">
 
 	<input type="hidden" name="config-php_path" value="{{$php_path}}" />
 	<input type="hidden" name="system-basepath" value="{{$basepath}}" />
diff --git a/view/templates/install/04_site_settings.tpl b/view/templates/install/04_site_settings.tpl
index 4ced7ed272..b71f69f013 100644
--- a/view/templates/install/04_site_settings.tpl
+++ b/view/templates/install/04_site_settings.tpl
@@ -4,7 +4,7 @@
 <h2>{{$pass}}</h2>
 
 
-<form id="install-form" action="{{$baseurl}}/install" method="post">
+<form id="install-form" action="{{$baseurl}}/index.php?pagename=install" method="post">
 
 <input type="hidden" name="config-php_path" value="{{$php_path}}" />
 <input type="hidden" name="system-basepath" value="{{$basepath}}" />
-- 
2.39.5