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

Jan Schneider jan at horde.org
Wed Jan 21 13:05:35 PST 2004


Zitat von David Bates <horde at voygr.com>:

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

No, we include the whole conf.php file. I shortly thought about using the
tokenizer extension, but parsing the file is far less overhead. And as we
create the file ourselves, it should be pretty normalized.

Jan.

--
http://www.horde.org - The Horde Project
http://www.ammma.de - Neue Wege des Lernens
http://www.tip4all.de - Deine private Tippgemeinschaft


More information about the dev mailing list