Show
Ignore:
Timestamp:
02/11/10 17:34:27 (2 years ago)
Author:
gbastien
Message:

* Merged recent changes in the trunk into this branch
* New token architecture not yet fully functional, nor tested, but ...

  • can now edit token templates for different context of tokens (from the edit netork interface at the bottom of page)
  • Users connected through a wifidog gateway can view their connection token information
Files:
1 modified

Legend:

Unmodified
Added
Removed
  • branches/newtoken/wifidog/ws/classes/Exceptions/WSException.php

    r1427 r1446  
    5050class WSException extends Exception 
    5151{ 
     52    CONST INVALID_PARAMETER = 8801; 
     53    CONST GENERIC_EXCEPTION = 8800; 
     54    CONST PROCESS_ERROR = 8802; 
     55     
    5256    // Redefine the exception so message isn't optional 
    53     public function __construct($message, $code = 0) { 
     57    public function __construct($message, $code = 8800) { 
    5458        // some code 
    5559