Re: safemode & caching

B.Kamer <[email protected]> Sat, 19 Mar 2005 22:45:01 +0100
Newsgroups gmane.comp.lib.binarycloud.devel
Message-ID <[email protected]>
On Mar 19, 2005, at 22:19, B.Kamer wrote:

> Or we could enhance Env so it would become possible to do for bc and 
> users.
> Env->getVar('safe_mode', 'ini');
> If ini_gets are slow they could be cached too...
> I like the last solution most. mayby a bit more work, but bc style

Afterthought:
caching ini values is not possible because they can be set too with 
ini_set().

This makes it kind off useless to modify Env. If we need ini values we 
should get them straight out of ini_get.

_______________________________________________
dev mailing list
dev-PnctHDZWAvB/Cz2I37pSEPZ4XP/[email protected]
http://lists.binarycloud.com/mailman/listinfo/dev