[geeklog-cvs] geeklog-2/lib Geeklog.class.php,1.3,1.4
geeklog-cvs-admin at lists.geeklog.net
geeklog-cvs-admin at lists.geeklog.net
Fri May 23 13:49:48 EDT 2003
Update of /usr/cvs/geeklog/geeklog-2/lib
In directory internal.geeklog.net:/tmp/cvs-serv9805
Modified Files:
Geeklog.class.php
Log Message:
No longer assume we have PEAR in php.ini's include_path
Index: Geeklog.class.php
===================================================================
RCS file: /usr/cvs/geeklog/geeklog-2/lib/Geeklog.class.php,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -d -r1.3 -r1.4
*** Geeklog.class.php 22 Oct 2002 23:13:37 -0000 1.3
--- Geeklog.class.php 23 May 2003 17:49:46 -0000 1.4
***************
*** 27,32 ****
global $_CONF;
! include_once($_CONF['path_pear'] . 'Log.php');
!
if (!isset($errorLog)) {
$errorLog = &Log::singleton('file', $_CONF['path_logs'] . 'error_log.txt', 'Geeklog Errors');
--- 27,35 ----
global $_CONF;
! if ($_CONF['have_pear']) {
! require_once 'Log/Log.php';
! } else {
! require_once $_CONF['path_pear'] . 'Log/Log.php';
! }
if (!isset($errorLog)) {
$errorLog = &Log::singleton('file', $_CONF['path_logs'] . 'error_log.txt', 'Geeklog Errors');
More information about the geeklog-cvs
mailing list