2017-02-07 02:56:58 -05:00

26 lines
719 B
PHP
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<?php
namespace Qiniu;
use Qiniu\Zone;
final class Config
{
const SDK_VER = '7.1.3';
const BLOCK_SIZE = 4194304; //4*1024*1024 分块上传块大小,该参数为接口规格,不能修改
const RS_HOST = 'http://rs.qbox.me'; // 文件元信息管理操作Host
const RSF_HOST = 'http://rsf.qbox.me'; // 列举操作Host
const API_HOST = 'http://api.qiniu.com'; // 数据处理操作Host
const UC_HOST = 'http://uc.qbox.me'; // Host
public $zone;
public function __construct(Zone $z = null) // 构造函数默认为zone0
{
// if ($z === null) {
$this->zone = new Zone();
// }
}
}