You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
22 lines
622 B
PHP
22 lines
622 B
PHP
<?php
|
|
|
|
namespace qcloudcos;
|
|
|
|
class Conf {
|
|
// Cos php sdk version number.
|
|
const VERSION = 'v4.2.3';
|
|
const API_COSAPI_END_POINT = 'http://region.file.myqcloud.com/files/v2/';
|
|
|
|
// Please refer to http://console.qcloud.com/cos to fetch your app_id, secret_id and secret_key.
|
|
// const APP_ID = '1251714743';
|
|
// const SECRET_ID = 'AKIDLnfG9uYWKDC1lOs0VlTc9cfXlWYwFcWr';
|
|
// const SECRET_KEY = 'pEVltSsX8we3OgcbG8Mln4PK6nMQ1b7Q';
|
|
|
|
/**
|
|
* Get the User-Agent string to send to COS server.
|
|
*/
|
|
public static function getUserAgent() {
|
|
return 'cos-php-sdk-' . self::VERSION;
|
|
}
|
|
}
|