From: Reini U. <ru...@x-...> - 2004-06-02 08:34:02
|
Dan Frankowski schrieb: > HOWEVER, you may not wish to see assert() output in your production > system. If that's true, you can turn them off. See the "assert.active" > setting of PHP. I added now the logic to assert only if DEBUG is non-false. If you want to assert always (which is recommended) you have to put comments before the two lines in lib/ErrorManager.php: if (DEBUG) assert_options (ASSERT_ACTIVE, 1); else assert_options (ASSERT_ACTIVE, 0); -- Reini Urban http://xarch.tu-graz.ac.at/home/rurban/ |