[geeklog-cvs] Geeklog-1.x/system lib-webservices.php,1.5,1.6

Ramnath Iyer riyer at qs1489.pair.com
Mon Sep 10 13:04:32 EDT 2007


Update of /cvsroot/geeklog/Geeklog-1.x/system
In directory qs1489.pair.com:/tmp/cvs-serv7020/system

Modified Files:
	lib-webservices.php 
Log Message:
Added special handling for XHTML content-types


Index: lib-webservices.php
===================================================================
RCS file: /cvsroot/geeklog/Geeklog-1.x/system/lib-webservices.php,v
retrieving revision 1.5
retrieving revision 1.6
diff -C2 -d -r1.5 -r1.6
*** lib-webservices.php	3 Sep 2007 00:39:12 -0000	1.5
--- lib-webservices.php	10 Sep 2007 17:04:30 -0000	1.6
***************
*** 411,414 ****
--- 411,417 ----
                  $args['updated'] = (string)$node->firstChild->nodeValue;
                  break;
+             case 'content':
+                 $args['content'] = (string)$atom_doc->saveXML($node);
+                 break;
              default:
                  if ($node->nodeType == XML_ELEMENT_NODE) {
***************
*** 539,547 ****
  
      $uid = '';
! 
      if (isset($_SERVER['PHP_AUTH_USER'])) {
          $username = $_SERVER['PHP_AUTH_USER'];
          $password = $_SERVER['PHP_AUTH_PW'];
! 
          $status = SEC_authenticate($username, $password, $uid);
      } elseif (!empty($_REQUEST['gl_auth_header'])) {
--- 542,550 ----
  
      $uid = '';
!     
      if (isset($_SERVER['PHP_AUTH_USER'])) {
          $username = $_SERVER['PHP_AUTH_USER'];
          $password = $_SERVER['PHP_AUTH_PW'];
!         
          $status = SEC_authenticate($username, $password, $uid);
      } elseif (!empty($_REQUEST['gl_auth_header'])) {




More information about the geeklog-cvs mailing list