Ignore:
Timestamp:
Sep 4, 2008, 11:37:19 PM (16 years ago)
Author:
plg
Message:

bug fixed : call set_status_header for HTTP response when webservice
PwgError is called, so that http response code and related message are part
of the structure response and not only in a serialized content (see how
tools/piwigo_remote.pl gets the response)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/ws_core.inc.php

    r2478 r2499  
    5353  function PwgError($code, $codeText)
    5454  {
     55    set_status_header($code, $codeText);
     56
    5557    $this->_code = $code;
    5658    $this->_codeText = $codeText;
Note: See TracChangeset for help on using the changeset viewer.