if (
$_SERVER['REQUEST_METHOD'] != 'POST' ||
empty($_SERVER['CONTENT_TYPE']) ||
$_SERVER['CONTENT_TYPE'] != 'application/json'
) {
// This is not a JSON-RPC request
return false;
}
2019-09-12
389℃
(0)评论
(19)喜欢
$this->debug && $this->debug.='***** Server response *****'."n".$response.'***** End of server response *****'."n";
$response = json_decode($response,true);
2019-09-12
380℃
(0)评论
(4)喜欢
public $QINIU_RSF_HOST = 'http://rsf.qbox.me';
public $QINIU_RS_HOST = 'http://rs.qbox.me';
public $QINIU_UP_HOST = 'http://up.qiniu.com';
public $timeout = '';
2019-09-12
414℃
(0)评论
(1)喜欢
/**
* 上传文件根目录
* @var string
*/
private $rootPath;
const DEFAULT_URL = 'bcs.duapp.com';
/**
* 上传错误信息
* @var string
*/
private $error = '';
public $config = array(
'AccessKey' => '
2019-09-12
373℃
(0)评论
(1)喜欢
* 升级短信通知, 如果有ThinkPHP新版升级,或者重要的更新,会发送短信通知你。
* 需要使用SAE的短信服务。请先找一个SAE的应用开通短信服务。
* 使用步骤如下:
* 1,在项目的Conf目录下建立tags.php配置文件,内容如下:
* <code>
* <?php
* return array(
* 'app_init' => array('UpgradeNotice')
* );
* </code>
*
2019-09-12
342℃
(0)评论
(1)喜欢