mirror of
https://github.com/YunoHost/install-app.git
synced 2024-09-03 20:06:19 +02:00
Fix url for community apps
This commit is contained in:
parent
334c8d0c7c
commit
caa01cb6b1
1 changed files with 1 additions and 1 deletions
|
@ -115,7 +115,7 @@ else if($app_status == 'community') {
|
||||||
// If the user submitted his or her server and the app is community, redirects to the server
|
// If the user submitted his or her server and the app is community, redirects to the server
|
||||||
if(isset($_POST['server']) AND !empty($_POST['server']) AND $app_status == 'community') {
|
if(isset($_POST['server']) AND !empty($_POST['server']) AND $app_status == 'community') {
|
||||||
$server = rtrim(preg_replace('#^https?://#', '', $_POST['server']),"/");
|
$server = rtrim(preg_replace('#^https?://#', '', $_POST['server']),"/");
|
||||||
$url = 'https://'.$server.'/yunohost/admin/#/apps/install/apps';
|
$url = 'https://'.$server.'/yunohost/admin/#/apps/install';
|
||||||
?>
|
?>
|
||||||
<form class="login-form" name="input" action="<?php echo $url; ?>" method="get">
|
<form class="login-form" name="input" action="<?php echo $url; ?>" method="get">
|
||||||
<p style="text-align:center;color:white;"><?php echo $locale['community_instructions']; ?></p>
|
<p style="text-align:center;color:white;"><?php echo $locale['community_instructions']; ?></p>
|
||||||
|
|
Loading…
Reference in a new issue