phpgroupware-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Phpgroupware-cvs] phpgroupware index.php, 1.120.2.2.2.2, 1.120.2.2.2.3


From: Dan Kuykendall <address@hidden>
Subject: [Phpgroupware-cvs] phpgroupware index.php, 1.120.2.2.2.2, 1.120.2.2.2.3 test_xmlrpc.php, 1.1.2.4, 1.1.2.5 test_xmlrpc.xml, 1.1.2.6, 1.1.2.7 xmlrpc.php, 1.12.4.1, 1.12.4.2
Date: Fri, 31 Oct 2003 00:25:00 +0000

Update of /cvsroot/phpgroupware/phpgroupware
In directory subversions:/tmp/cvs-serv32199

Modified Files:
      Tag: proposal-branch
        index.php test_xmlrpc.php test_xmlrpc.xml xmlrpc.php 
Log Message:
moved timer to be universal

Index: index.php
===================================================================
RCS file: /cvsroot/phpgroupware/phpgroupware/index.php,v
retrieving revision 1.120.2.2.2.2
retrieving revision 1.120.2.2.2.3
diff -C2 -d -r1.120.2.2.2.2 -r1.120.2.2.2.3
*** index.php   30 Oct 2003 21:18:13 -0000      1.120.2.2.2.2
--- index.php   31 Oct 2003 00:24:57 -0000      1.120.2.2.2.3
***************
*** 24,35 ****
        /* $Id$ */
  
-       // This isn't used yet
-       function perfgetmicrotime()
-       {
-               list($usec, $sec) = explode(' ',microtime());
-               return ((float)$usec + (float)$sec);
-       }
-       $GLOBALS['debug_timer']['start'] = perfgetmicrotime();
- 
        $GLOBALS['phpgw_client'] = 'browser';
        $GLOBALS['phpgw_data'] = array();
--- 24,27 ----

Index: test_xmlrpc.xml
===================================================================
RCS file: /cvsroot/phpgroupware/phpgroupware/Attic/test_xmlrpc.xml,v
retrieving revision 1.1.2.6
retrieving revision 1.1.2.7
diff -C2 -d -r1.1.2.6 -r1.1.2.7
*** test_xmlrpc.xml     31 Oct 2003 00:02:15 -0000      1.1.2.6
--- test_xmlrpc.xml     31 Oct 2003 00:24:58 -0000      1.1.2.7
***************
*** 65,69 ****
  
  p.onload = myfunc;
! p.open("POST","http://localhost/phpgroupware/xmlrpc.php";)
  p.send(x);
  
--- 65,69 ----
  
  p.onload = myfunc;
! p.open("POST","http://localhost/demo/xmlrpc.php";)
  p.send(x);
  

Index: test_xmlrpc.php
===================================================================
RCS file: /cvsroot/phpgroupware/phpgroupware/Attic/test_xmlrpc.php,v
retrieving revision 1.1.2.4
retrieving revision 1.1.2.5
diff -C2 -d -r1.1.2.4 -r1.1.2.5
*** test_xmlrpc.php     31 Oct 2003 00:02:14 -0000      1.1.2.4
--- test_xmlrpc.php     31 Oct 2003 00:24:58 -0000      1.1.2.5
***************
*** 10,14 ****
  
  $site = 'localhost';
! $location = '/phpgroupware/xmlrpc.php';
  
  if (!($conn=fsockopen($site,81,$errno,$errstr))) exit($errstr);
--- 10,14 ----
  
  $site = 'localhost';
! $location = '/demo/xmlrpc.php';
  
  if (!($conn=fsockopen($site,81,$errno,$errstr))) exit($errstr);
***************
*** 63,67 ****
  $params = array('sid'=>$sid, 'account_id'=>3);
  $params = array('sid'=>$sid, 'account_id'=>3, 
'other'=>array('one','two','three'));
! $params = array($sid, 'account_id'=>3);
  $method = "api.account_mgr.view";
  $data = xmlrpc_encode_request($method,$params);
--- 63,67 ----
  $params = array('sid'=>$sid, 'account_id'=>3);
  $params = array('sid'=>$sid, 'account_id'=>3, 
'other'=>array('one','two','three'));
! $params = array($sid, 'account_id'=>1);
  $method = "api.account_mgr.view";
  $data = xmlrpc_encode_request($method,$params);

Index: xmlrpc.php
===================================================================
RCS file: /cvsroot/phpgroupware/phpgroupware/xmlrpc.php,v
retrieving revision 1.12.4.1
retrieving revision 1.12.4.2
diff -C2 -d -r1.12.4.1 -r1.12.4.2
*** xmlrpc.php  28 Oct 2003 04:30:01 -0000      1.12.4.1
--- xmlrpc.php  31 Oct 2003 00:24:58 -0000      1.12.4.2
***************
*** 1,3 ****
--- 1,27 ----
  <?php
+       
/**************************************************************************\
+       * phpGroupWare                                                          
   *
+       * http://www.phpgroupware.org                                           
   *
+       * This file written by Dan Kuykendall <address@hidden>                 *
+       * Copyright (C) 2003 Dan Kuykendall                                     
   *
+       * 
-------------------------------------------------------------------------*
+       * This library is part of the phpGroupWare API                          
   *
+       * http://www.phpgroupware.org/api                                       
   * 
+       * 
------------------------------------------------------------------------ *
+       * This library is free software; you can redistribute it and/or modify 
it  *
+       * under the terms of the GNU Lesser General Public License as published 
by *
+       * the Free Software Foundation; either version 2.1 of the License,      
   *
+       * or any later version.                                                 
   *
+       * This library is distributed in the hope that it will be useful, but   
   *
+       * WITHOUT ANY WARRANTY; without even the implied warranty of            
   *
+       * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.                  
   *
+       * See the GNU Lesser General Public License for more details.           
   *
+       * You should have received a copy of the GNU Lesser General Public 
License *
+       * along with this library; if not, write to the Free Software 
Foundation,  *
+       * Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA         
   *
+       
\**************************************************************************/
+ 
+       /* $Id$ */
+ 
        $GLOBALS['phpgw_client'] = 'xmlrpc';
        $GLOBALS['phpgw_data'] = array();





reply via email to

[Prev in Thread] Current Thread [Next in Thread]