Changeset 619

Show
Ignore:
Timestamp:
10/25/07 22:59:30 (1 year ago)
Author:
laurentj
Message:

fixed bug #316: use of a deprecated define JSON_LOOSE_TYPE

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • branches/1.0beta3.x/lib/jelix/core/response/jResponseJson.class.php

    r550 r619  
    4343        $content = json_encode($this->datas); 
    4444#else 
    45         $json = new Services_JSON(JSON_LOOSE_TYPE); 
     45        $json = new Services_JSON(SERVICES_JSON_LOOSE_TYPE); 
    4646        $content = $json->encode($this->datas); 
    4747#endif 
     
    7272        $content = json_encode($message); 
    7373#else 
    74         $json = new Services_JSON(JSON_LOOSE_TYPE); 
     74        $json = new Services_JSON(SERVICES_JSON_LOOSE_TYPE); 
    7575        $content = $json->encode($message); 
    7676#endif 
  • branches/1.0beta3.x/lib/jelix/core/response/jResponseJson.class.php

    r550 r619  
    4343        $content = json_encode($this->datas); 
    4444#else 
    45         $json = new Services_JSON(JSON_LOOSE_TYPE); 
     45        $json = new Services_JSON(SERVICES_JSON_LOOSE_TYPE); 
    4646        $content = $json->encode($this->datas); 
    4747#endif 
     
    7272        $content = json_encode($message); 
    7373#else 
    74         $json = new Services_JSON(JSON_LOOSE_TYPE); 
     74        $json = new Services_JSON(SERVICES_JSON_LOOSE_TYPE); 
    7575        $content = $json->encode($message); 
    7676#endif 
  • trunk/lib/jelix/core/response/jResponseJson.class.php

    r550 r619  
    4343        $content = json_encode($this->datas); 
    4444#else 
    45         $json = new Services_JSON(JSON_LOOSE_TYPE); 
     45        $json = new Services_JSON(SERVICES_JSON_LOOSE_TYPE); 
    4646        $content = $json->encode($this->datas); 
    4747#endif 
     
    7272        $content = json_encode($message); 
    7373#else 
    74         $json = new Services_JSON(JSON_LOOSE_TYPE); 
     74        $json = new Services_JSON(SERVICES_JSON_LOOSE_TYPE); 
    7575        $content = $json->encode($message); 
    7676#endif 
  • trunk/lib/jelix/core/response/jResponseJson.class.php

    r550 r619  
    4343        $content = json_encode($this->datas); 
    4444#else 
    45         $json = new Services_JSON(JSON_LOOSE_TYPE); 
     45        $json = new Services_JSON(SERVICES_JSON_LOOSE_TYPE); 
    4646        $content = $json->encode($this->datas); 
    4747#endif 
     
    7272        $content = json_encode($message); 
    7373#else 
    74         $json = new Services_JSON(JSON_LOOSE_TYPE); 
     74        $json = new Services_JSON(SERVICES_JSON_LOOSE_TYPE); 
    7575        $content = $json->encode($message); 
    7676#endif 
Download in other formats: Unified Diff Zip Archive