[CS-Project-svn_notify] SF.net SVN: cs-project: [724] trunk/lib/globalFunctions.php
Brought to you by:
crazedsanity
From: <cra...@us...> - 2007-12-27 21:49:24
|
Revision: 724 http://cs-project.svn.sourceforge.net/cs-project/?rev=724&view=rev Author: crazedsanity Date: 2007-12-27 13:49:20 -0800 (Thu, 27 Dec 2007) Log Message: ----------- Stop trying to invalidly log missing template files... /lib/globalFunctions.php: * html_file_to_string(): -- don't make invalid database connection (didn't log anyway). Modified Paths: -------------- trunk/lib/globalFunctions.php Modified: trunk/lib/globalFunctions.php =================================================================== --- trunk/lib/globalFunctions.php 2007-12-27 21:16:19 UTC (rev 723) +++ trunk/lib/globalFunctions.php 2007-12-27 21:49:20 UTC (rev 724) @@ -102,6 +102,7 @@ return $htmlString; } else { + cs_debug_backtrace(1); //Could not find the file requested to stringify. //Sending warning to user and logging it. @@ -110,14 +111,7 @@ "Could not find all files necessary to create this page.<br>Please call technical support.<BR>\nfile=[". $file ."]", "","status" ); - - //Connect to db to log - $logDb = new phpDB; - $logDb->connect("pl"); - - $details = $filename ." -- ". page_get_env(); - #log_activity($logDb,125,$_SESSION['uid'],"$details"); - return " "; + return(NULL); } }//end html_file_to_string() This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |