mirror of
https://github.com/myvesta/vesta
synced 2025-07-05 04:26:23 -07:00
Activating FileManager licence for all users
This commit is contained in:
parent
89b7538fad
commit
0fd5be1d28
3 changed files with 8 additions and 1 deletions
|
@ -2089,10 +2089,11 @@ if [ "$release" -gt 9 ]; then
|
|||
fi
|
||||
echo "ALLOW_BACKUP_ANYTIME='yes'" >> $VESTA/conf/vesta.conf
|
||||
echo "NOTIFY_ADMIN_FULL_BACKUP='$email'" >> $VESTA/conf/vesta.conf
|
||||
echo "FILEMANAGER_KEY='FREEFM'" >> $VESTA/conf/vesta.conf
|
||||
echo "================================================================"
|
||||
|
||||
# Removing old PHP sessions files
|
||||
crontab -l | { cat; echo "10 2 * * 6 sudo find /home/*/tmp/ -type f -mtime +5 -exec rm {} \;"; } | crontab -
|
||||
cron=$(crontab -l | { cat; echo "10 2 * * 6 sudo find /home/*/tmp/ -type f -mtime +5 -exec rm {} \;"; } | crontab -)
|
||||
|
||||
echo "alias v-cd-www='source /usr/local/vesta/bin/v-change-dir-www'" >> /root/.bash_profile
|
||||
|
||||
|
|
|
@ -25,6 +25,11 @@ fi
|
|||
echo "1" > /usr/local/vesta/data/upgrades/show_changelog
|
||||
chmod a=rw /usr/local/vesta/data/upgrades/show_changelog
|
||||
|
||||
if ! grep -q "FILEMANAGER_KEY='FREEFM'" /usr/local/vesta/conf/vesta.conf; then
|
||||
echo "== Adding FileManager license to vesta.conf"
|
||||
echo "FILEMANAGER_KEY='FREEFM'" >> /usr/local/vesta/conf/vesta.conf
|
||||
fi
|
||||
|
||||
# Adding myVesta rules to SpamAssassin
|
||||
if [ -d "/etc/spamassassin" ]; then
|
||||
spamassassin_modified=0
|
||||
|
|
|
@ -19,6 +19,7 @@
|
|||
<a href="#" class="to-shortcuts">
|
||||
<i class="l-icon-shortcuts"></i>
|
||||
</a>
|
||||
<div style="float: right; margin-right: 15px;position: fixed;z-index: 100;right: 0px;color: #fff;top: 10px;" title="Developed and donated by VestaCP.com">©</div>
|
||||
|
||||
<div id="main">
|
||||
<div class="window active">
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue