[dev] Re: [cvs] commit: horde/lib Config.php

David Bates horde at voygr.com
Wed Jan 21 12:55:58 PST 2004


Could you drop the PHP code into a non-parsed string and then use eval to run 
that code later on in your code?


-- 
It's a dog eat dog world.
  And I'm wearing 'Milkbone' underwear
"Norm - Cheers"


Quoting Jan Schneider <jan at horde.org>:

> Zitat von Jan Schneider <jan at horde.org>:
> 
> > jan         2004/01/21 12:07:17 PST
> >
> >   Modified files:
> >     lib                  Config.php
> >   Log:
> >   Add <configphp> configuration type to allow PHP code being entered into
> the
> >   configuration form.
> 
> Spoken too early. Does anybody have a neat idea how to get the PHP code
> instead of the evaluated expression from existing conf.php files? :-/
> 
> Jan.
> 
> --
> http://www.horde.org - The Horde Project
> http://www.ammma.de - Neue Wege des Lernens
> http://www.tip4all.de - Deine private Tippgemeinschaft
> 
> -- 
> Horde developers mailing list
> Frequently Asked Questions: http://horde.org/faq/
> To unsubscribe, mail: dev-unsubscribe at lists.horde.org
> 



More information about the dev mailing list