Subversion Repositories SmartDukaan

Rev

Rev 15511 | Rev 15651 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 15511 Rev 15523
Line 24... Line 24...
24
		$this->Cookie->httpOnly = true;
24
		$this->Cookie->httpOnly = true;
25
    }
25
    }
26
    
26
    
27
	public function oneringcb() {
27
	public function oneringcb() {
28
		$this->log(print_r($_REQUEST,1),'onering');
28
		$this->log(print_r($_REQUEST,1),'onering');
-
 
29
		$this->layout = "ajax";
-
 
30
        $this->response->type('json');
-
 
31
        $this->set(array(
-
 
32
            'result' => $result,
-
 
33
            '_serialize' => array('result')
-
 
34
        ));
-
 
35
        $this->render('/Elements/json');
29
	}
36
	}
30
 
37
 
31
	public function mywallet() {
38
	public function mywallet() {
32
		$userId = $this->request->query('user_id');
39
		$userId = $this->request->query('user_id');
33
		$tokenValidated = $this->checkToken($userId);
40
		$tokenValidated = $this->checkToken($userId);