[Cs-content-commits] SF.net SVN: cs-content:[399] trunk/1.0/cs_siteConfig.class.php
PHP Templating & Includes System
Brought to you by:
crazedsanity
From: <cra...@us...> - 2009-06-26 17:33:59
|
Revision: 399 http://cs-content.svn.sourceforge.net/cs-content/?rev=399&view=rev Author: crazedsanity Date: 2009-06-26 17:32:51 +0000 (Fri, 26 Jun 2009) Log Message: ----------- Fix exception so it is more informative. /cs_siteConfig.class.php: * get_section(): -- give the referenced section when saying it is invalid or contains no data. Modified Paths: -------------- trunk/1.0/cs_siteConfig.class.php Modified: trunk/1.0/cs_siteConfig.class.php =================================================================== --- trunk/1.0/cs_siteConfig.class.php 2009-06-25 21:32:15 UTC (rev 398) +++ trunk/1.0/cs_siteConfig.class.php 2009-06-26 17:32:51 UTC (rev 399) @@ -277,7 +277,7 @@ $retval = $data; } else { - throw new exception(__METHOD__ .": invalid section or no data (". $data['type'] .")"); + throw new exception(__METHOD__ .": invalid section (". $section .") or no data (". $data['type'] .")"); } } else { This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |