[geeklog-cvs] geeklog-2/lib/database lib-database.php,1.3,1.4

geeklog-cvs-admin at lists.geeklog.net geeklog-cvs-admin at lists.geeklog.net
Fri May 23 13:48:40 EDT 2003


Update of /usr/cvs/geeklog/geeklog-2/lib/database
In directory internal.geeklog.net:/tmp/cvs-serv9747

Modified Files:
	lib-database.php 
Log Message:
Don't assume we need any path when requiring PEAR::DB

Index: lib-database.php
===================================================================
RCS file: /usr/cvs/geeklog/geeklog-2/lib/database/lib-database.php,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -d -r1.3 -r1.4
*** lib-database.php	21 Oct 2002 20:16:32 -0000	1.3
--- lib-database.php	23 May 2003 17:48:38 -0000	1.4
***************
*** 26,30 ****
  * Include PEAR's DB library
  */
! require_once($_CONF['path_pear'] . 'DB.php');
  
  /**
--- 26,34 ----
  * Include PEAR's DB library
  */
! if (!$_CONF['have_pear']) {
!     require_once $_CONF['path_pear'] . 'DB.php';
! } else {
!     require_once 'DB.php';
! }
  
  /**





More information about the geeklog-cvs mailing list