lvhao 4 týždňov pred
rodič
commit
4ad50781dd
1 zmenil súbory, kde vykonal 2 pridanie a 1 odobranie
  1. 2 1
      core/CoreApp/controllers/Shop.php

+ 2 - 1
core/CoreApp/controllers/Shop.php

@@ -364,12 +364,13 @@ class Shop extends Start_Controller {
         	// curl_setopt($ch, CURLOPT_POSTFIELDS, substr($post_data,0,-1));
 			// $output = curl_exec($ch);
 			$output = json_decode($output,true);
+			echo "<pre>";
 			print_r($output);
+			die;
 			$this->shop->save(array('code'=>$output["access_token"],'codetime'=>substr($output["expire_time"],0,10)),$_GET['state']);
 			header('Location:http://'.$_SERVER['HTTP_HOST'].'/user/');exit;
 		}
 	}
 
 
-	
 }