Re: Making Horde portable

Michael J Rubinsky <[email protected]>
Newsgroups gmane.comp.horde.devel
Message-ID <20141221203533.Horde.uqpebyc0MvnXRyZRqWvMJw1@h4.theupstairsroom.com>
Quoting Jürgen Dankoweit <[email protected]>:

> Hello Michael,
>
> thanks for your answer.
>
> Am 18.12.2014 15:34, schrieb Michael J Rubinsky:
>>
>> Quoting Jürgen Dankoweit <[email protected]>:
>>
>>> 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

-- 
dev mailing list
Frequently Asked Questions: http://wiki.horde.org/FAQ
To unsubscribe, mail: [email protected]
smime.p7s (application/pkcs7-signature, 5.7 KB) - not displayed
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.