mirror of
https://github.com/YunoHost-Apps/fluxbb_ynh.git
synced 2024-09-03 18:36:14 +02:00
Fix
This commit is contained in:
parent
17062d2e82
commit
a3c25937c2
6 changed files with 7 additions and 20 deletions
|
@ -5,7 +5,6 @@
|
||||||
admin="john"
|
admin="john"
|
||||||
is_public=1
|
is_public=1
|
||||||
password="password_fluxbb"
|
password="password_fluxbb"
|
||||||
port="666"
|
|
||||||
; Checks
|
; Checks
|
||||||
pkg_linter=1
|
pkg_linter=1
|
||||||
setup_sub_dir=1
|
setup_sub_dir=1
|
||||||
|
|
|
@ -1,17 +0,0 @@
|
||||||
<?php
|
|
||||||
|
|
||||||
$db_type = 'mysqli';
|
|
||||||
$db_host = 'localhost';
|
|
||||||
$db_name = 'DB_NAME';
|
|
||||||
$db_username = 'DB_USER';
|
|
||||||
$db_password = 'DB_PASS';
|
|
||||||
$db_prefix = '';
|
|
||||||
$p_connect = false;
|
|
||||||
|
|
||||||
$cookie_name = 'pun_cookie_a07c36';
|
|
||||||
$cookie_domain = '';
|
|
||||||
$cookie_path = '/';
|
|
||||||
$cookie_secure = 0;
|
|
||||||
$cookie_seed = 'b47bf15566b0f545';
|
|
||||||
|
|
||||||
define('PUN', 1);
|
|
1
doc/DESCRIPTION_fr.md
Normal file
1
doc/DESCRIPTION_fr.md
Normal file
|
@ -0,0 +1 @@
|
||||||
|
FluxBB est conçu comme une alternative plus légère et plus rapide à certaines des applications traditionnelles de forum lourdes en fonctionnalités. Il est facile à utiliser et a fait ses preuves en matière de stabilité et de sécurité, ce qui en fait un choix de forum idéal pour votre site Web.
|
3
doc/DISCLAIMER_fr.md
Normal file
3
doc/DISCLAIMER_fr.md
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
### Limitations avec YunoHost
|
||||||
|
|
||||||
|
Les authentifications HTTP et LDAP ne sont pas prises en charge.
|
|
@ -6,7 +6,7 @@
|
||||||
"en": "Fast, light, user-friendly forum software",
|
"en": "Fast, light, user-friendly forum software",
|
||||||
"fr": "Forum de discussions rapide et léger"
|
"fr": "Forum de discussions rapide et léger"
|
||||||
},
|
},
|
||||||
"version": "1.5.11~ynh4",
|
"version": "1.5.11~ynh5",
|
||||||
"url": "https://fluxbb.org/",
|
"url": "https://fluxbb.org/",
|
||||||
"upstream": {
|
"upstream": {
|
||||||
"license": "GPL-2.0-only",
|
"license": "GPL-2.0-only",
|
||||||
|
|
|
@ -25,6 +25,7 @@ path_url=$YNH_APP_ARG_PATH
|
||||||
admin=$YNH_APP_ARG_ADMIN
|
admin=$YNH_APP_ARG_ADMIN
|
||||||
is_public=$YNH_APP_ARG_IS_PUBLIC
|
is_public=$YNH_APP_ARG_IS_PUBLIC
|
||||||
password=$YNH_APP_ARG_PASSWORD
|
password=$YNH_APP_ARG_PASSWORD
|
||||||
|
email=$(ynh_user_get_info --username=$admin --key=mail)
|
||||||
|
|
||||||
app=$YNH_APP_INSTANCE_NAME
|
app=$YNH_APP_INSTANCE_NAME
|
||||||
|
|
||||||
|
@ -109,7 +110,7 @@ ynh_systemd_action --service_name=nginx --action=reload
|
||||||
# Installation with cURL
|
# Installation with cURL
|
||||||
ynh_script_progression --message="Finalizing installation..."
|
ynh_script_progression --message="Finalizing installation..."
|
||||||
|
|
||||||
ynh_local_curl "/install.php" "form_sent=1" "install_lang=English" "req_db_type=mysqli_innodb" "req_db_host=localhost" "req_db_name=$db_name" "db_username=$db_user" "db_password=$db_pwd" "db_prefix=fl_" "req_username=$admin" "req_password1=$password" "req_password2=$password" "req_email=$admin@$domain" "req_title=YunoFluxBB" "desc=FluxBB_package_for_Yunohost" "req_base_url=https://$domain$path_url" "req_default_lang=English" "req_default_style=Air"
|
ynh_local_curl "/install.php" "form_sent=1" "install_lang=English" "req_db_type=mysqli_innodb" "req_db_host=localhost" "req_db_name=$db_name" "db_username=$db_user" "db_password=$db_pwd" "db_prefix=fl_" "req_username=$admin" "req_password1=$password" "req_password2=$password" "req_email=$email" "req_title=YunoFluxBB" "desc=FluxBB_package_for_Yunohost" "req_base_url=https://$domain$path_url" "req_default_lang=English" "req_default_style=Air"
|
||||||
|
|
||||||
ynh_secure_remove "$final_path/install.php"
|
ynh_secure_remove "$final_path/install.php"
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue