You've already forked qlg.tsgz.moe
Init Repo
This commit is contained in:
23
addons/dysms/sdk/lib/Core/Config.php
Executable file
23
addons/dysms/sdk/lib/Core/Config.php
Executable file
@ -0,0 +1,23 @@
|
||||
<?php
|
||||
|
||||
namespace Aliyun\Core;
|
||||
|
||||
use Aliyun\Core\Regions\EndpointConfig;
|
||||
|
||||
//config http proxy
|
||||
define('ENABLE_HTTP_PROXY', FALSE);
|
||||
define('HTTP_PROXY_IP', '127.0.0.1');
|
||||
define('HTTP_PROXY_PORT', '8888');
|
||||
|
||||
|
||||
class Config
|
||||
{
|
||||
private static $loaded = false;
|
||||
public static function load(){
|
||||
if(self::$loaded) {
|
||||
return;
|
||||
}
|
||||
EndpointConfig::load();
|
||||
self::$loaded = true;
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user