[Phpslash-devel] PHP Notice Errors
Brought to you by:
joestewart,
nhruby
From: Mike G. <mi...@op...> - 2003-10-16 16:34:30
|
Hello again, Just thought I'd as a question about phpSlash's plans for handling php error messages. Is the team working to eliminate php notice errors in upcoming releases? One of our developers is dead set against not using notices. We've done this with Back-End with some of the phpSlash code we've incorporated: Index: functions.inc =================================================================== RCS file: /cvsroot/back-end/back-end0.5.x/class/functions.inc,v retrieving revision 1.53 diff -r1.53 functions.inc 617c617 < $templ->set_var('XSITEOBJECT', $metaobject['object']); --- > $templ->set_var('XSITEOBJECT', @$metaobject['object']); 811c811,812 < --- > > $lastModified = null; Index: lib.resources.php =================================================================== RCS file: /cvsroot/back-end/back-end0.5.x/class/lib.resources.php,v retrieving revision 1.4 diff -r1.4 lib.resources.php 444c444 < $ans = $GLOBALS['_PSL']['resources'][$urn] ? true : false; --- > $ans = @$GLOBALS['_PSL']['resources'][$urn] ? true : false; Note this may have already been squished in the cvs version. Mike -- Mike Gifford, OpenConcept Consulting Free Software for Social Change -> http://www.openconcept.ca Beads of Hope Campaign - http://uc.openconcept.ca/petition.php Nonconformity is the highest evolutionary attainment of social animals - Aldo Leopold |