1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/fluxbb_ynh.git synced 2024-09-03 18:36:14 +02:00
This commit is contained in:
ericgaspar 2021-11-23 17:38:41 +01:00
parent 17062d2e82
commit a3c25937c2
No known key found for this signature in database
GPG key ID: 574F281483054D44
6 changed files with 7 additions and 20 deletions

View file

@ -5,7 +5,6 @@
admin="john"
is_public=1
password="password_fluxbb"
port="666"
; Checks
pkg_linter=1
setup_sub_dir=1

View file

@ -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
View 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
View file

@ -0,0 +1,3 @@
### Limitations avec YunoHost
Les authentifications HTTP et LDAP ne sont pas prises en charge.

View file

@ -6,7 +6,7 @@
"en": "Fast, light, user-friendly forum software",
"fr": "Forum de discussions rapide et léger"
},
"version": "1.5.11~ynh4",
"version": "1.5.11~ynh5",
"url": "https://fluxbb.org/",
"upstream": {
"license": "GPL-2.0-only",

View file

@ -25,6 +25,7 @@ path_url=$YNH_APP_ARG_PATH
admin=$YNH_APP_ARG_ADMIN
is_public=$YNH_APP_ARG_IS_PUBLIC
password=$YNH_APP_ARG_PASSWORD
email=$(ynh_user_get_info --username=$admin --key=mail)
app=$YNH_APP_INSTANCE_NAME
@ -109,7 +110,7 @@ ynh_systemd_action --service_name=nginx --action=reload
# Installation with cURL
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"