Subversion Repositories SmartDukaan

Rev

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

Rev 15348 Rev 15354
Line 459... Line 459...
459
            // $this->layout->view(strtolower(__CLASS__).'/autologin',$userData);
459
            // $this->layout->view(strtolower(__CLASS__).'/autologin',$userData);
460
            redirect(base_url().$userData['next']);
460
            redirect(base_url().$userData['next']);
461
        }
461
        }
462
        if(isset($getdata['v']) && !empty($getdata['v'])){
462
        if(isset($getdata['v']) && !empty($getdata['v'])){
463
        	$url = $this->config->item('profitmandi_token_validation_url').$getdata['token'];
463
        	$url = $this->config->item('profitmandi_token_validation_url').$getdata['token'];
464
    	 	echo $url;
464
    	 	error_log("token validation url ".$url);
465
    	 	$ch = curl_init();
465
    	 	$ch = curl_init();
466
			// Now set some options (most are optional)
466
			// Now set some options (most are optional)
467
			// Set URL to download
467
			// Set URL to download
468
			curl_setopt($ch, CURLOPT_URL, $url);
468
			curl_setopt($ch, CURLOPT_URL, $url);
469
			// User agent
469
			// User agent