[imp] Including imp/config/conf.php

Oliver Schulze L. oliver@samera.com.py
Thu Nov 21 17:54:15 2002


Jan Schneider wrote:

>Zitat von "Oliver Schulze L." <oliver@samera.com.py>:
>
>  
>
>>Hi,
>>I want to include the file imp/config/conf.php in a
>>custom php app I'm developing.
>>
>>I wanted to know where in IMP is conf.php included?
>>    
>>
>
>In Registry::pushApp()
>
Thanks

> 
>  
>
>>I get this error:
>>Fatal error: Call to a member function on a non-object
>>in this line:
>>$conf['mailbox']['deleted_flag'] = Horde::img('deleted.gif', 'alt="' .
>>_("Deleted") . '"');
>>    
>>
>
>There is no member call in this line. Are you sure that the error message
>  
>
> and the line are matching?

The problem is that I can't call: Horde::img
that is inside imp/config/conf.php

Try this:
$ cd imp/config
$ cp conf.php.dist conf.php
and use this file
<?php
// put this .php in your horde/imp/ directory
echo "before<br>";
include_once(./config/conf.php);
echo "after<br>";
?>

Thanks
Oliver

> 
>Jan.
>
>--
>http://www.horde.org - The Horde Project
>http://www.ammma.de - discover your knowledge
>http://www.tip4all.de - Deine private Tippgemeinschaft
>
>  
>

-- 
Oliver Schulze L.
<oliver@samera.com.py>




More information about the imp mailing list