1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/bozon_ynh.git synced 2024-09-03 18:16:09 +02:00

Update upgrade: php5, ew

This commit is contained in:
Alexandre Aubin 2024-01-14 19:16:44 +01:00 committed by Félix Piédallu
parent ce5ddadf83
commit 7c041df7e4

View file

@ -41,9 +41,7 @@ ynh_add_fpm_config
#================================================= #=================================================
ynh_script_progression --message="Cleaning php sessions stored..." --weight=1 ynh_script_progression --message="Cleaning php sessions stored..." --weight=1
if [ -d "/usr/lib/php5" ]; then if [ -d "/usr/lib/php" ]; then
[ -x /usr/lib/php5/sessionclean ] && /usr/lib/php5/sessionclean
elif [ -d "/usr/lib/php" ]; then
[ -x /usr/lib/php/sessionclean ] && /usr/lib/php/sessionclean [ -x /usr/lib/php/sessionclean ] && /usr/lib/php/sessionclean
fi fi