Revision 7577,
459 bytes
checked in by pereira.jair, 12 years ago
(diff) |
Ticket #2507 - Correção da varíavel global DIR que estava incorreta.
|
-
Property svn:executable set to
*
|
Line | |
---|
1 | <?php |
---|
2 | |
---|
3 | class ExpressoVersionResource extends ExpressoAdapter { |
---|
4 | |
---|
5 | |
---|
6 | public function get($request) { |
---|
7 | return $this->post($request); |
---|
8 | } |
---|
9 | |
---|
10 | public function post($request){ |
---|
11 | // to Receive POST Params (use $this->params) |
---|
12 | parent::post($request); |
---|
13 | |
---|
14 | $result = array('expressoVersion' => $this->getExpressoVersion(), |
---|
15 | 'apiVersion' => '1.0'); |
---|
16 | $this->setResult($result); |
---|
17 | |
---|
18 | //to Send Response (JSON RPC format) |
---|
19 | return $this->getResponse(); |
---|
20 | } |
---|
21 | |
---|
22 | } |
---|
Note: See
TracBrowser
for help on using the repository browser.