mirror of
https://github.com/YunoHost-Apps/moncycle_ynh.git
synced 2024-09-03 19:46:16 +02:00
Update config
This commit is contained in:
parent
157fc2eca7
commit
6cd0d63fdc
1 changed files with 11 additions and 11 deletions
|
@ -25,7 +25,7 @@ ynh_abort_if_errors
|
|||
final_path=$(ynh_app_setting_get $app final_path)
|
||||
|
||||
pushd "$install_dir/script"
|
||||
statistiques=$(/usr/bin/php8.3 --define apc.enable_cli=1 stat.php)
|
||||
statistiques="$(/usr/bin/php8.3 --define apc.enable_cli=1 stat.php)"
|
||||
popd
|
||||
|
||||
get__csv_sep(){
|
||||
|
@ -56,43 +56,43 @@ set__connexion_compte(){
|
|||
}
|
||||
|
||||
get__moncycle_app_nb_compte(){
|
||||
grep 'moncycle_app_nb_compte' $statistiques
|
||||
echo "$statistiques" | grep -Poi 'moncycle_app_nb_compte \K.*'
|
||||
}
|
||||
|
||||
get__moncycle_app_nb_session(){
|
||||
grep 'moncycle_app_nb_session' $statistiques
|
||||
echo "$statistiques" | grep -Poi 'moncycle_app_nb_session \K.*'
|
||||
}
|
||||
|
||||
get__moncycle_app_visite_mensuel(){
|
||||
grep 'moncycle_app_visite_mensuel' $statistiques
|
||||
echo "$statistiques" | grep -Poi 'moncycle_app_visite_mensuel \K.*'
|
||||
}
|
||||
|
||||
get__moncycle_app_visite_hebdo(){
|
||||
grep 'moncycle_app_visite_hebdo' $statistiques
|
||||
echo "$statistiques" | grep -Poi 'moncycle_app_visite_hebdo \K.*'
|
||||
}
|
||||
|
||||
get__moncycle_app_visite_jour(){
|
||||
grep 'moncycle_app_visite_jour' $statistiques
|
||||
echo "$statistiques" | grep -Poi 'moncycle_app_visite_jour \K.*'
|
||||
}
|
||||
|
||||
get__moncycle_app_nb_compte_actif(){
|
||||
grep 'moncycle_app_nb_compte_actif' $statistiques
|
||||
echo "$statistiques" | grep -Poi 'moncycle_app_nb_compte_actif \K.*'
|
||||
}
|
||||
|
||||
get__moncycle_app_pc_compte_actif(){
|
||||
grep 'moncycle_app_pc_compte_actif' $statistiques
|
||||
echo "$statistiques" | grep -Poi 'moncycle_app_pc_compte_actif \K.*'
|
||||
}
|
||||
|
||||
get__moncycle_app_nb_compte_avec_totp(){
|
||||
grep 'moncycle_app_nb_compte_avec_totp' $statistiques
|
||||
echo "$statistiques" | grep -Poi 'moncycle_app_nb_compte_avec_totp \K.*'
|
||||
}
|
||||
|
||||
get__moncycle_app_nb_compte_actif_billings(){
|
||||
grep 'moncycle_app_nb_compte_actif_billings' $statistiques
|
||||
echo "$statistiques" | grep -Poi 'moncycle_app_nb_compte_actif_billings \K.*'
|
||||
}
|
||||
|
||||
get__moncycle_app_pc_compte_actif_billings(){
|
||||
grep 'moncycle_app_pc_compte_actif_billings' $statistiques
|
||||
echo "$statistiques" | grep -Poi 'moncycle_app_pc_compte_actif_billings \K.*'
|
||||
}
|
||||
|
||||
#=================================================
|
||||
|
|
Loading…
Add table
Reference in a new issue