<?php
header('Content-Type: text/html; charset=UTF-8');
//包含配置信息
//$data = rkcache("setting", true);
$data = require(BASE_DATA_PATH.DS.'cache'.DS.'setting.php'); // by abc.com
//判读新浪微博登录是否开启
if($data['sina_isuse'] != 1){
	@header('location: index.php');
	exit;
}
define( "WB_AKEY" ,  trim($data['sina_wb_akey']));
define( "WB_SKEY" ,  trim($data['sina_wb_skey']));
define( "WB_CALLBACK_URL" , SHOP_SITE_URL.DS.'api.php?act=tosina&op=g');