]> andersk Git - sql-web.git/blame - lib/joe/rpcreply.lib.php
Fix CSRF vulnerabilities
[sql-web.git] / lib / joe / rpcreply.lib.php
CommitLineData
abc9b7a9
JP
1<?php
2require_once 'xml.lib.php';
3
4class RPCReply extends XML {
5 function __construct() {
6 parent::__construct('response');
7 }
8 function add_eval($data) {
9 parent::add(new CDATA('eval',array(),$data));
10 }
11 function add_update($id,$data) {
12 parent::add(new CDATA('update',array('id'=>$id),$data));
13 }
14}
15?>
This page took 0.045222 seconds and 5 git commands to generate.