Typo/thinko in current CVS

Found a bug? Tell us!!
Post Reply
Rasmus
Regular
Posts: 7
Joined: Sun Nov 09, 2003 6:35 pm

Typo/thinko in current CVS

Post by Rasmus »

I really don't think you meant to specify the HTTPPath here. Also, why the @ on this one? If you can't find the specified db include, it is a fatal error and hiding the fatal error only makes it harder to debug.

Code: Select all

Index: serendipity_db.inc.php
===================================================================
RCS file: /cvsroot/php-blog/serendipity/serendipity_db.inc.php,v
retrieving revision 1.8
diff -u -r1.8 serendipity_db.inc.php
--- serendipity_db.inc.php      23 Jan 2004 05:50:21 -0000      1.8
+++ serendipity_db.inc.php      30 Jan 2004 10:47:02 -0000
@@ -2,7 +2,7 @@
 # Copyright (c) 2003-2004, Jannis Hermanns
 # All rights reserved.  See LICENSE file for licensing details

-@include_once($serendipity['serendipityHTTPPath'] ."serendipity_db_{$serendipity['dbType']}.inc.php");
+include_once($serendipity['serendipityPath'] ."serendipity_db_{$serendipity['dbType']}.inc.php");

 function serendipity_db_update($table, $keys, $values)
 {
[/code]
Post Reply