From: <var...@us...> - 2014-07-28 14:01:02
|
Revision: 9018 http://sourceforge.net/p/phpwiki/code/9018 Author: vargenau Date: 2014-07-28 14:00:58 +0000 (Mon, 28 Jul 2014) Log Message: ----------- No \n in error message Modified Paths: -------------- trunk/lib/AccessLog.php trunk/lib/Request.php Modified: trunk/lib/AccessLog.php =================================================================== --- trunk/lib/AccessLog.php 2014-07-28 13:51:56 UTC (rev 9017) +++ trunk/lib/AccessLog.php 2014-07-28 14:00:58 UTC (rev 9018) @@ -58,7 +58,7 @@ if ($do_sql) { if (!$request->_dbi->isSQL()) { - trigger_error("Unsupported database backend for ACCESS_LOG_SQL.\nNeed DATABASE_TYPE=SQL or ADODB or PDO"); + trigger_error("Unsupported database backend for ACCESS_LOG_SQL. Need DATABASE_TYPE=SQL or ADODB or PDO."); } else { global $DBParams; //$this->_dbi =& $request->_dbi; Modified: trunk/lib/Request.php =================================================================== --- trunk/lib/Request.php 2014-07-28 13:51:56 UTC (rev 9017) +++ trunk/lib/Request.php 2014-07-28 14:00:58 UTC (rev 9018) @@ -889,7 +889,7 @@ if ($do_sql) { global $DBParams; if (!in_array($DBParams['dbtype'], array('SQL', 'ADODB'))) { - trigger_error("Unsupported database backend for ACCESS_LOG_SQL.\nNeed DATABASE_TYPE=SQL or ADODB"); + trigger_error("Unsupported database backend for ACCESS_LOG_SQL. Need DATABASE_TYPE=SQL or ADODB."); } else { //$this->_dbi =& $request->_dbi; $this->logtable = (!empty($DBParams['prefix']) ? $DBParams['prefix'] : '') . "accesslog"; This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |