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
*
|
Rev | Line | |
---|
[6019] | 1 | <?php |
---|
| 2 | |
---|
[7577] | 3 | class ExpressoVersionResource extends ExpressoAdapter { |
---|
| 4 | |
---|
| 5 | |
---|
| 6 | public function get($request) { |
---|
| 7 | return $this->post($request); |
---|
| 8 | } |
---|
| 9 | |
---|
[6019] | 10 | public function post($request){ |
---|
| 11 | // to Receive POST Params (use $this->params) |
---|
| 12 | parent::post($request); |
---|
| 13 | |
---|
[6554] | 14 | $result = array('expressoVersion' => $this->getExpressoVersion(), |
---|
| 15 | 'apiVersion' => '1.0'); |
---|
[6019] | 16 | $this->setResult($result); |
---|
| 17 | |
---|
| 18 | //to Send Response (JSON RPC format) |
---|
| 19 | return $this->getResponse(); |
---|
| 20 | } |
---|
| 21 | |
---|
[7577] | 22 | } |
---|
Note: See
TracBrowser
for help on using the repository browser.