[geeklog-cvs] geeklog-1.3/public_html lib-common.php,1.401,1.402
dhaun at iowaoutdoors.org
dhaun at iowaoutdoors.org
Sat Dec 11 17:07:09 EST 2004
Update of /var/cvs/geeklog-1.3/public_html
In directory www:/tmp/cvs-serv30276
Modified Files:
lib-common.php
Log Message:
Added a piece of code to ensure compatibility with PHP 4.1.x, as the PEAR version we're shipping now requires PHP 4.2.x, unless the PHP_compat package is used.
In other words: We have to bundle the PHP_Compat package with Geeklog, too.
Index: lib-common.php
===================================================================
RCS file: /var/cvs/geeklog-1.3/public_html/lib-common.php,v
retrieving revision 1.401
retrieving revision 1.402
diff -C2 -d -r1.401 -r1.402
*** lib-common.php 11 Dec 2004 14:57:37 -0000 1.401
--- lib-common.php 11 Dec 2004 22:07:07 -0000 1.402
***************
*** 139,142 ****
--- 139,155 ----
}
+
+ /**
+ * This is necessary to ensure compatibility with PHP 4.1.x
+ *
+ */
+ if( !function_exists( 'is_a' ))
+ {
+ require_once( 'PHP/Compat.php' );
+
+ PHP_Compat::loadFunction( 'is_a' );
+ }
+
+
/**
* Include page time -- used to time how fast each page was created
More information about the geeklog-cvs
mailing list