[CS-Project-svn_notify] SF.net SVN: cs-project: [819] trunk/1.2/lib
Brought to you by:
crazedsanity
From: <cra...@us...> - 2008-02-09 10:01:15
|
Revision: 819 http://cs-project.svn.sourceforge.net/cs-project/?rev=819&view=rev Author: crazedsanity Date: 2008-02-09 02:01:10 -0800 (Sat, 09 Feb 2008) Log Message: ----------- Superficial changes for __autoload() and information in an exception from logsClass. Modified Paths: -------------- trunk/1.2/lib/logsClass.php trunk/1.2/lib/site_config.php Modified: trunk/1.2/lib/logsClass.php =================================================================== --- trunk/1.2/lib/logsClass.php 2008-02-09 05:34:13 UTC (rev 818) +++ trunk/1.2/lib/logsClass.php 2008-02-09 10:01:10 UTC (rev 819) @@ -501,7 +501,7 @@ } } else { - throw new exception(__METHOD__ .": failed to create new log_category"); + throw new exception(__METHOD__ .": failed to create new log_category (". $catName .")"); } return($retval); Modified: trunk/1.2/lib/site_config.php =================================================================== --- trunk/1.2/lib/site_config.php 2008-02-09 05:34:13 UTC (rev 818) +++ trunk/1.2/lib/site_config.php 2008-02-09 10:01:10 UTC (rev 819) @@ -185,13 +185,12 @@ } } - if($retval == TRUE) { - return($retval); - } - else { + if($retval !== TRUE) { throw new exception(__FUNCTION__ .": unable to find class file for (". $className .")"); } + return($retval); + }//end __autoload() //========================================================================= This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |