From: Dan F. <dfr...@cs...> - 2004-06-02 16:49:10
|
You didn't cc the list, so I do. Jim Cheetham wrote: > Thanks to both Dan and Frederik for confirming my thoughts about > assert(), and expanding on them :-) > > With respect to turning these off in production, my question becomes :- > > Should phpwiki have active assert statements for production users? Can > we turn them off with the equivalent of DEBUG = 0, or via .htaccess > setting a php value? Reini changed this in CVS so DEBUG=0 turns off assert()s. > and > > Given that I've seen WikiDB getRevisionBefore($version) throw out an > assert when submitting a page edit (on a dba=file wiki), does that > indicate a problem that needs to be fixed, either in phpwiki or on my > site? Yes. Either in the code or in the assert. Dan |