I did a mistake, warnings are now writen into configuration files, and not in templates...
This commit is contained in:
parent
c9b16036dc
commit
bb6423c329
|
@ -53,7 +53,25 @@ EOF
|
|||
TEMPLATE="$TEMPLATE_DIR/${file##etc/}"
|
||||
echo -n " $file"
|
||||
if [ -f "$TEMPLATE" ]; then
|
||||
sed -f "$SED_SCRIPT" < $TEMPLATE > /$file
|
||||
(
|
||||
echo '<?php'
|
||||
echo '/*****************************************************/'
|
||||
echo '/* /!\ DO NOT EDIT THIS FILE /!\ */'
|
||||
echo '/* Edit the one in /etc/alternc/templates/roundcube/ */'
|
||||
echo '/* and launch alternc.install again. */'
|
||||
echo '/*****************************************************/'
|
||||
echo ''
|
||||
) > /$file
|
||||
sed -f "$SED_SCRIPT" < $TEMPLATE >> /$file
|
||||
(
|
||||
echo ''
|
||||
echo '/*****************************************************/'
|
||||
echo '/* /!\ DO NOT EDIT THIS FILE /!\ */'
|
||||
echo '/* Edit the one in /etc/alternc/templates/roundcube/ */'
|
||||
echo '/* and launch alternc.install again. */'
|
||||
echo '/*****************************************************/'
|
||||
echo '?>'
|
||||
) >> /$file
|
||||
fi
|
||||
done
|
||||
rm -f $SED_SCRIPT
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
<?php
|
||||
|
||||
/*
|
||||
+-----------------------------------------------------------------------+
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
<?php
|
||||
|
||||
// managesieve server port
|
||||
$rcmail_config['managesieve_port'] = 2000;
|
||||
|
@ -64,4 +63,3 @@ $rcmail_config['managesieve_filename_extension'] = '.sieve';
|
|||
// Scripts listed here will be not presented to the user.
|
||||
$rcmail_config['managesieve_filename_exceptions'] = array();
|
||||
|
||||
?>
|
||||
|
|
|
@ -1,10 +1,3 @@
|
|||
<?php
|
||||
|
||||
/**********************************************************************/
|
||||
/* /!\ DO NOT EDIT THIS FILE /!\ */
|
||||
/* Edit the one in /etc/alternc/templates/roundcube/plugins/password/ */
|
||||
/* and launch alternc.install again. */
|
||||
/**********************************************************************/
|
||||
|
||||
// Password Plugin options
|
||||
// -----------------------
|
||||
|
@ -312,8 +305,3 @@ $rcmail_config['hmailserver_server'] = array(
|
|||
// 7: domain_username
|
||||
$rcmail_config['password_virtualmin_format'] = 0;
|
||||
|
||||
/**********************************/
|
||||
/* /!\ DO NOT EDIT THIS FILE /!\ */
|
||||
/**********************************/
|
||||
|
||||
?>
|
||||
|
|
Loading…
Reference in New Issue