phpBMS

Show
Ignore:
Timestamp:
01/14/10 16:59:01 (2 years ago)
Author:
nate
Message:
  • Removed unneded comments in apiclass.php and api_json.php
  • Added ping functionality (for connection / access / tabledef testing) in the api class and the apiwrapper class.
Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/phpbms/modules/api/include/apiclass.php

    r703 r759  
    456456 
    457457                switch($request["command"]){ 
     458                     
     459                    case "ping": 
     460                        //====================================================== 
     461                         
     462                        $this->_addToResponse("message", "Everything is phpBMSy!"); 
     463                         
     464                        break; 
    458465 
    459466                    case "insert": 
     
    636643                            include_once("include/search_class.php"); 
    637644 
    638                            //if($useUuid){ 
    639                            //     if(!isset($request["data"]->uuid)) 
    640                            //         $this->sendError("The `uuid` field must be set in request number ".$i, $request["data"], true); 
    641                            //     else 
    642                            //         $id = $request["data"]->uuid; 
    643                            // 
    644                            // }else{ 
    645                            //     if(!isset($request["data"]->id)) 
    646                            //         $this->sendError("The `id` field must be set in request number ".$i, $request["data"], true); 
    647                            //     else 
    648                            //         $id = $request["data"]->uuid; 
    649                            // }//end if 
    650  
    651645                            if($hasTableClassOveride){ 
    652646 
phpBMS vulnerability assesment provided by Orvant Inc. Copyright © 2010 Kreotek, LLC. All Rights reserved.