[dev] [cvs] commit: horde/services imple.php

Michael M Slusarz slusarz at horde.org
Mon Jul 27 21:30:50 UTC 2009


Quoting Michael Rubinsky <mrubinsk at horde.org>:

> Quoting Michael M Slusarz <slusarz at horde.org>:
>
>> Quoting Michael Rubinsky <mike at theupstairsroom.com>:
>>
>>> mrubinsk    2009-07-27 12:57:44 EDT
>>>
>>> Modified files:
>>>   services             imple.php
>>> Log:
>>> We need write access to the session here since we have some ajax  
>>> requests that
>>> might modify user preferences.
>>>
>>> Revision  Changes    Path
>>> 1.5       +0 -2      horde/services/imple.php
>>
>> Allowing session write access should be made configurable via a URL  
>> parameter or something similar - readonly should be the default.   
>> Things like contact searching should not be blocking on other  
>> requests.
>
> So, pass something like needSession=1 in the request, and seeing how  
> base.php sets up the session AND the autoloader, I guess we need to  
> manually include the Horde/Util.php file so we can call the  
> getFormData() method to get said URL parameter?  Seems _slightly_  
> hackish to me.

No need to manually include/require Horde_Util - just include  
core.php, do the necessary URL parsing, and then include base.php.   
See horde/services/cache.php as an example.

michael

-- 
___________________________________
Michael Slusarz [slusarz at horde.org]



More information about the dev mailing list