Chemin absolu vers la signature

This commit is contained in:
Daniel Berteaud 2012-07-18 19:51:47 +02:00
parent 16992624d7
commit e5c19b4f7c

View File

@ -25,6 +25,16 @@ else {
}
?>
// Linux / UNIX ?
if(getenv("USER") != "") {
var path_sep = '/';
var path_profile = getenv("HOME");
}
// Windows ?
else {
var path_sep = '\\';
var path_profile = getenv("USERPROFILE");
}
// Compte local
<?php echo PREF;?>("mail.account.account1.server", "server1");
@ -55,6 +65,7 @@ $server = 2;
$accountlist = 'account1';
$identities = ''
?>
// Compte personnel
<?php echo PREF;?>("mail.account.account2.server", "server<?php echo $server?>");
<?php echo PREF;?>("mail.server.server2.hostname", "<?php echo IMAP_SERVER; ?>");
@ -77,7 +88,7 @@ defaultPref("mail.identity.id<?php echo $id; ?>.fcc_folder", "imap://<?php echo
defaultPref("mail.identity.id<?php echo $id; ?>.draft_folder", "imap://<?php echo $uid; ?>@<?php echo IMAP_SERVER; ?>/Drafts");
defaultPref("mail.identity.id<?php echo $id; ?>.stationery_folder", "imap://<?php echo $uid; ?>@<?php echo IMAP_SERVER; ?>/Templates");
defaultPref("mail.identity.id<?php echo $id; ?>.attach_signature", true);
defaultPref("mail.identity.id<?php echo $id; ?>.sig_file-rel", "[ProfD]../../../../../signature/email.html");
defaultPref("mail.identity.id<?php echo $id; ?>.sig_file", path_profile+path_sep+"signature"+path_sep+"email.html");
<?php
//$accountlist .= ',account' . $account;
$identities .= ',id' . $id;