[geeklog-cvs] Geeklog-1.x/public_html/webservices/atom index.php, 1.3, 1.4

Dirk Haun dhaun at qs1489.pair.com
Thu May 1 07:51:28 EDT 2008


Update of /cvsroot/geeklog/Geeklog-1.x/public_html/webservices/atom
In directory qs1489.pair.com:/tmp/cvs-serv90079/public_html/webservices/atom

Modified Files:
	index.php 
Log Message:
Need to check the PHP version here (not in lib-webservices.php, where it's too late)


Index: index.php
===================================================================
RCS file: /cvsroot/geeklog/Geeklog-1.x/public_html/webservices/atom/index.php,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -d -r1.3 -r1.4
*** index.php	2 Jan 2008 14:40:22 -0000	1.3
--- index.php	1 May 2008 11:51:26 -0000	1.4
***************
*** 33,37 ****
  
  require_once '../../lib-common.php';
! require_once $_CONF['path_system'] . '/lib-webservices.php';
  
  /* Check if WS component is enabled */
--- 33,43 ----
  
  require_once '../../lib-common.php';
! 
! /* Check for PHP5 */
! if (PHP_VERSION < 5) {
!     $_CONF['disable_webservices'] = true;
! } else {
!     require_once $_CONF['path_system'] . '/lib-webservices.php';
! }
  
  /* Check if WS component is enabled */




More information about the geeklog-cvs mailing list