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

Michael J Rubinsky mrubinsk at horde.org
Tue Jan 5 14:13:14 UTC 2021


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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-keys
Size: 9272 bytes
Desc: PGP Public Key
URL: <https://lists.horde.org/archives/horde/attachments/20210105/21f94e76/attachment.key>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 851 bytes
Desc: PGP Digital Signature
URL: <https://lists.horde.org/archives/horde/attachments/20210105/21f94e76/attachment.sig>


More information about the horde mailing list