[Kolab-devel] lib/KolabAdmin package.xml www/admin

Gunnar Wrobel wrobel at horde.org
Fri Jun 24 05:38:30 CEST 2011


Quoting "Bogomil \"Bogo\" Shopov" <shopov at kolabsys.com>:

> On 06/23/2011 01:37 PM, Gunnar Wrobel wrote:
>> Quoting Bogomil Shopov <shopov at kolabsys.com>:

[snip]

>> It was a lot of work to get hardcoded paths out of the web admin. You
>> should avoid hardcoding the knowledge of the installation path to
>> z-push in the code. While "@www_dir@" is variable it is being replaced
>> with a hard coded path when building the distributable package.
>
>> In
>> theory the system administrator should be able to place the z-push
>> application anywhere he would like.
>
> I don't think he can so easy to do that :)

Why exactly? To me there seems to be no technical reason why the  
z-push application would have to be installed in the same document  
root in the same directory where you place the web admin.

>
>>  I know: on OpenPKG this is usually
>> not the case but we shouldn't code specifically for OpenPKG.
>>
>> So this should go into a configuration variable.
> Any recommendations  then?

A configuration variable typically lives in the configuration file.  
For the Kolab web admin this would be  
/kolab/var/kolab/php/admin/include/config.php on OpenPKG. This is  
where we also configure other paths.

Cheers,

Gunnar


-- 
Core Developer
The Horde Project

e: wrobel at horde.org
t: +49 700 6245 0000
w: http://www.horde.org

pgp: 9703 43BE
tweets: http://twitter.com/pardus_de
blog: http://log.pardus.de




More information about the devel mailing list