Skip to content

Commit 0e0045a

Browse files
committed
Removed old upgrade/install vars in hestia.conf due to older version
1 parent 01ea78c commit 0e0045a

File tree

3 files changed

+1
-19
lines changed

3 files changed

+1
-19
lines changed

install/hst-install-debian.sh

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1687,13 +1687,6 @@ if [ "$mysql" = 'yes' ]; then
16871687
source $HESTIA_INSTALL_DIR/phpmyadmin/pma.sh > /dev/null 2>&1
16881688
fi
16891689

1690-
#----------------------------------------------------------#
1691-
# Limit PHP SESSIONS #
1692-
#----------------------------------------------------------#
1693-
1694-
echo "INACTIVE_SESSION_TIMEOUT='60'" >> $HESTIA/conf/hestia.conf
1695-
echo "TWOFA_VALID_LENGTH='1'" >> $HESTIA/conf/hestia.conf
1696-
16971690
#----------------------------------------------------------#
16981691
# Configure Admin User #
16991692
#----------------------------------------------------------#

install/hst-install-ubuntu.sh

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1722,13 +1722,6 @@ else
17221722
echo "API='no'" >> $HESTIA/conf/hestia.conf
17231723
fi
17241724

1725-
#----------------------------------------------------------#
1726-
# Limit PHP SESSIONS #
1727-
#----------------------------------------------------------#
1728-
1729-
echo "INACTIVE_SESSION_TIMEOUT='60'" >> $HESTIA/conf/hestia.conf
1730-
echo "TWOFA_VALID_LENGTH='1'" >> $HESTIA/conf/hestia.conf
1731-
17321725
#----------------------------------------------------------#
17331726
# Fix phpmyadmin #
17341727
#----------------------------------------------------------#

install/upgrade/versions/1.2.2.sh

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -45,8 +45,4 @@ if [ -f "$apt/postgresql.list" ]; then
4545
echo " ----- PostgreSQL"
4646
sed -i "s/http\:\/\/apt.postgresql.org/https\:\/\/apt.postgresql.org/g" $apt/postgresql.list
4747
fi
48-
fi
49-
50-
# Limit PHP Session Live time
51-
echo "INACTIVE_SESSION_TIMEOUT='60'" >> $HESTIA/conf/hestia.conf
52-
echo "TWOFA_VALID_LENGTH='1'" >> $HESTIA/conf/hestia.conf
48+
fi

0 commit comments

Comments
 (0)