[horde] how to set holiday_drivers value in prefs.local.php

ANANT S ATHAVALE asa at ursc.gov.in
Wed Jan 6 04:09:21 UTC 2021


----- Message from Michael J Rubinsky <mrubinsk at horde.org> ---------
     Date: Tue, 05 Jan 2021 14:13:14 +0000
     From: Michael J Rubinsky <mrubinsk at horde.org>
Reply-To: mrubinsk at horde.org
  Subject: Re: [horde] how to set holiday_drivers value in prefs.local.php
       To: horde at lists.horde.org, Michael J Rubinsky <mrubinsk at horde.org>


> Quoting ANANT S ATHAVALE <asa at ursc.gov.in>:
>
>> All,
>>
>> I have added one holiday caledar and it is stored as
>>
>> | asa at ursc.gov.in | kronolith  | holiday_drivers                 |  
>> a:1:{i:0;s:3:"USA";}
>>
>> I want that, this should be effective for all users
>>
>> How do set the same in prefs.local.php?
>>
>> Adding following line in prefs.local.php is not helping...
>>
>> $_prefs['holiday_drivers']['value'] = json_encode(array('USA'));
>
>
> That is not a json encoded array, it's serialized using php's serialization.
>
> https://www.php.net/serialize
>
>
>> or
>>
>> $_prefs['holiday_drivers']['value'] = '["USA"]';
>>
>> Is it possible to make it default preference for all (without locking)....
>>
>> Please guide.
>>
>>
>>
>>
>> -- 
>>     सादर धन्यवाद/ Thanks & Regards
>>          अनंत / Anant
>> ------------------------------------------------------------------------------
>> IMPORTANT NOTE:
>>
>> ISRO Satellite Centre (ISAC) was renamed as U R Rao Satellite Centre (URSC).
>> Hence, the existing domain (isac.gov.in) is changed to new domain  
>> ursc.gov.in
>> resulting into change of e-mail address from user at isac.gov.in to  
>> user at ursc.gov.in.
>> Please note this change and update your contact details for new  
>> domain (ursc.gov.in).
>> ------------------------------------------------------------------------------
>> Confidentiality Notice: This e-mail message, including any  
>> attachments, is for
>> the sole use of the intended recipient(s) and may contain confidential and
>> privileged information. Any unauthorized review, use, disclosure or
>> distribution is prohibited. If you are not the intended recipient, please
>> contact the sender by reply e-mail and destroy all copies of the original
>> message.
>> ------------------------------------------------------------------------------
>>
>> -- 
>> Horde mailing list
>> Frequently Asked Questions: http://horde.org/faq/
>> To unsubscribe, mail: horde-unsubscribe at lists.horde.org
>
>
>
> -- 
> mike
> The Horde Project
> http://www.horde.org
> https://www.facebook.com/hordeproject
> https://www.twitter.com/hordeproject


----- End message from Michael J Rubinsky <mrubinsk at horde.org> -----

So, how can I achieve that? please guide.

A sample config line will help me to set it up.




-- 
      सादर धन्यवाद/ Thanks & Regards
           अनंत / Anant
------------------------------------------------------------------------------
IMPORTANT NOTE:

ISRO Satellite Centre (ISAC) was renamed as U R Rao Satellite Centre (URSC).
Hence, the existing domain (isac.gov.in) is changed to new domain ursc.gov.in
resulting into change of e-mail address from user at isac.gov.in to  
user at ursc.gov.in.
Please note this change and update your contact details for new domain  
(ursc.gov.in).
------------------------------------------------------------------------------
Confidentiality Notice: This e-mail message, including any attachments, is for
the sole use of the intended recipient(s) and may contain confidential and
privileged information. Any unauthorized review, use, disclosure or
distribution is prohibited. If you are not the intended recipient, please
contact the sender by reply e-mail and destroy all copies of the original
message.
------------------------------------------------------------------------------



More information about the horde mailing list