[dev] Making Horde portable

Michael J Rubinsky mrubinsk at horde.org
Mon Dec 22 01:35:33 UTC 2014


Quoting Jürgen Dankoweit <Juergen.Dankoweit at t-online.de>:

> Hello Michael,
>
> thanks for your answer.
>
> Am 18.12.2014 15:34, schrieb Michael J Rubinsky:
>>
>> Quoting Jürgen Dankoweit <Juergen.Dankoweit at t-online.de>:
>>
>>> Hello to the list,
>>>
>>> I'm trying to make Horde portable so that it can easily installed on a
>>> webspace that has only ftp access. Currently most of Horde works.
>>>
>>> But there are many questions:
>>> in <horde-basedir>/index.php there is a object "$prefs". Where does it
>>> come from?
>>
>> It's a Horde_Pref object and tt's instantiated as part of the Horde
>> bootstrap process.
>>
>>> As I see with this object preferencies are accessed.
>>
>> Correct.
>>
>>> Where are this preferencies stored (file/database/cookie)?
>>
>> Default values come from <application>/config/prefs.php. Persistent
>> storage depends on the configured preference backend.
>>
>>
>
> I didn't dind the file where $prefs is instantiated. Please, could  
> you tell me in which file/module this is done?
>
> Currently I have nearly all "putenv", "getenv" and temp-file  
> functions replaced by functions that write/get the environment  
> information. The most difficult thing is PEAR...
>
> Best regards

It's done by a injector factory, probably in Registry.php.

-- 
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: smime.p7s
Type: application/pkcs7-signature
Size: 5869 bytes
Desc: S/MIME Signature
URL: <http://lists.horde.org/archives/dev/attachments/20141221/70948606/attachment.bin>


More information about the dev mailing list