run and call function in webservice should have firt letter lower case
This commit is contained in:
@@ -21,7 +21,7 @@ abstract class WebService
|
|||||||
* Treat the current request and output the result. This is the only
|
* Treat the current request and output the result. This is the only
|
||||||
* method that should be called on the webservice directly !
|
* method that should be called on the webservice directly !
|
||||||
*/
|
*/
|
||||||
public function Run()
|
public function run()
|
||||||
{
|
{
|
||||||
Logger::start(array('version' => $this->version));
|
Logger::start(array('version' => $this->version));
|
||||||
|
|
||||||
@@ -30,7 +30,7 @@ abstract class WebService
|
|||||||
$data = array();
|
$data = array();
|
||||||
|
|
||||||
try {
|
try {
|
||||||
$result = $this->Call();
|
$result = $this->call();
|
||||||
$data["result"][$this->func] = $result;
|
$data["result"][$this->func] = $result;
|
||||||
|
|
||||||
// Logger::log(print_r($result, true));
|
// Logger::log(print_r($result, true));
|
||||||
@@ -63,7 +63,7 @@ abstract class WebService
|
|||||||
* @return array
|
* @return array
|
||||||
* @throws UsageException
|
* @throws UsageException
|
||||||
*/
|
*/
|
||||||
private function Call()
|
private function call()
|
||||||
{
|
{
|
||||||
session_save_path(Configuration::get('session.save_path'));
|
session_save_path(Configuration::get('session.save_path'));
|
||||||
session_start();
|
session_start();
|
||||||
|
|||||||
Reference in New Issue
Block a user