I guess in the first case the value is treated as boolean var type (on =
true or 1), in the second cas the value is treated as string var "on".
So of course the returned var by getConfig() is totally different.
Just test with
if ( $erfurt->getConfig ()->get ('debug') )
this should work in both cases.
cheers...
Haschek
--
Website: http://haschek.eye48.com
Messenger: has...@jabber.ccc.de (see http://jabber.org)
> Is that our fault?
please look in the existing code and steal what you can :-)
e.g. in index.php you can see a test of debugging mode:
if (defined('_OWDEBUG')) { ... }
regards
SD
--
Sebastian Dietzold - Department of Computer Science; University of Leipzig
Tel/Fax: +49 341 97 323-66/-29 http://bis.uni-leipzig.de/SebastianDietzold