[geeklog-cvs] Geeklog-1.x/system lib-webservices.php,1.2,1.3

Dirk Haun dhaun at qs1489.pair.com
Sun Aug 19 12:30:09 EDT 2007


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

Modified Files:
	lib-webservices.php 
Log Message:
Make stories the default "plugin"


Index: lib-webservices.php
===================================================================
RCS file: /cvsroot/geeklog/Geeklog-1.x/system/lib-webservices.php,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** lib-webservices.php	13 Aug 2007 17:43:16 -0000	1.2
--- lib-webservices.php	19 Aug 2007 16:30:07 -0000	1.3
***************
*** 38,42 ****
  header('Content-type: ' . 'application/atom+xml' . '; charset=UTF-8');
  
! $WS_PLUGIN    = 'staticpages'; // -- dhaun 2008-08-11
  $WS_INTROSPECTION = false;
  $WS_TEXT = '';
--- 38,42 ----
  header('Content-type: ' . 'application/atom+xml' . '; charset=UTF-8');
  
! $WS_PLUGIN    = '';
  $WS_INTROSPECTION = false;
  $WS_TEXT = '';
***************
*** 84,88 ****
      global $WS_PLUGIN, $WS_INTROSPECTION;
  
!     $WS_PLUGIN = 'staticpages'; // -- dhaun 2008-08-11
      $args = array();
  
--- 84,88 ----
      global $WS_PLUGIN, $WS_INTROSPECTION;
  
!     $WS_PLUGIN = '';
      $args = array();
  
***************
*** 97,103 ****
                  $WS_INTROSPECTION = true;
          case 'plugin':
!             /*if (!empty($param_val)) {
                  $WS_PLUGIN = $param_val;
!             }*/
              break;
          default:
--- 97,103 ----
                  $WS_INTROSPECTION = true;
          case 'plugin':
!             if (!empty($param_val)) {
                  $WS_PLUGIN = $param_val;
!             }
              break;
          default:
***************
*** 194,198 ****
          /* 'story' is the default plugin */
          if (empty($WS_PLUGIN)) {
!             $WS_PLUGIN = 'staticpages'; // for now --dhaun 2008-08-11
          }
  
--- 194,198 ----
          /* 'story' is the default plugin */
          if (empty($WS_PLUGIN)) {
!             $WS_PLUGIN = 'story';
          }
  




More information about the geeklog-cvs mailing list