Ajout de l'inclusion d'un fichier de conf local

This commit is contained in:
root 2010-10-07 14:34:30 +02:00
parent ca37c41cd3
commit 44748f8bb7
1 changed files with 3 additions and 1 deletions

View File

@ -3,7 +3,7 @@
RC_HOME=/var/www/webmail/public_html
MAIL=root
SEND_EVERY_NB_DAY=7
CACHE=/var/www/webmail/.cache_check_upgrade
CACHE=$RC_HOME/../.cache_check_upgrade
CACHE_FAILED=$CACHE.failed
MAX_CHECK=10
MAX_FAILED=3
@ -13,6 +13,8 @@ CHECK_URL=http://www.roundcube.net/download
DEBUG=0
[ "$1" == "-v" ] && DEBUG=1
[ -f "$0.local" ] && source "$0.local" && [ $DEBUG -eq 1 ] && echo "Import local config file : $0.local"
current=`egrep "define.*RCMAIL_VERSION" $RC_HOME/program/include/iniset.php|sed "s/define('.*', '\([^']*\)'.*$/\1/"`
[ $DEBUG -eq 1 ] && echo "Current : $current"