mirror of
https://gitee.com/zoujingli/ThinkAdmin.git
synced 2025-04-05 19:41:44 +08:00
[更新]Composer组件更新
This commit is contained in:
parent
cd1f37eb30
commit
387500576e
2
vendor/autoload.php
vendored
2
vendor/autoload.php
vendored
@ -4,4 +4,4 @@
|
||||
|
||||
require_once __DIR__ . '/composer/autoload_real.php';
|
||||
|
||||
return ComposerAutoloaderInit2a71d9dff46ddf4e8b4d8221715776c3::getLoader();
|
||||
return ComposerAutoloaderInit468e08d63393129419db8541182b61a2::getLoader();
|
||||
|
14
vendor/composer/autoload_real.php
vendored
14
vendor/composer/autoload_real.php
vendored
@ -2,7 +2,7 @@
|
||||
|
||||
// autoload_real.php @generated by Composer
|
||||
|
||||
class ComposerAutoloaderInit2a71d9dff46ddf4e8b4d8221715776c3
|
||||
class ComposerAutoloaderInit468e08d63393129419db8541182b61a2
|
||||
{
|
||||
private static $loader;
|
||||
|
||||
@ -19,15 +19,15 @@ class ComposerAutoloaderInit2a71d9dff46ddf4e8b4d8221715776c3
|
||||
return self::$loader;
|
||||
}
|
||||
|
||||
spl_autoload_register(array('ComposerAutoloaderInit2a71d9dff46ddf4e8b4d8221715776c3', 'loadClassLoader'), true, true);
|
||||
spl_autoload_register(array('ComposerAutoloaderInit468e08d63393129419db8541182b61a2', 'loadClassLoader'), true, true);
|
||||
self::$loader = $loader = new \Composer\Autoload\ClassLoader();
|
||||
spl_autoload_unregister(array('ComposerAutoloaderInit2a71d9dff46ddf4e8b4d8221715776c3', 'loadClassLoader'));
|
||||
spl_autoload_unregister(array('ComposerAutoloaderInit468e08d63393129419db8541182b61a2', 'loadClassLoader'));
|
||||
|
||||
$useStaticLoader = PHP_VERSION_ID >= 50600 && !defined('HHVM_VERSION') && (!function_exists('zend_loader_file_encoded') || !zend_loader_file_encoded());
|
||||
if ($useStaticLoader) {
|
||||
require_once __DIR__ . '/autoload_static.php';
|
||||
|
||||
call_user_func(\Composer\Autoload\ComposerStaticInit2a71d9dff46ddf4e8b4d8221715776c3::getInitializer($loader));
|
||||
call_user_func(\Composer\Autoload\ComposerStaticInit468e08d63393129419db8541182b61a2::getInitializer($loader));
|
||||
} else {
|
||||
$map = require __DIR__ . '/autoload_namespaces.php';
|
||||
foreach ($map as $namespace => $path) {
|
||||
@ -48,19 +48,19 @@ class ComposerAutoloaderInit2a71d9dff46ddf4e8b4d8221715776c3
|
||||
$loader->register(true);
|
||||
|
||||
if ($useStaticLoader) {
|
||||
$includeFiles = Composer\Autoload\ComposerStaticInit2a71d9dff46ddf4e8b4d8221715776c3::$files;
|
||||
$includeFiles = Composer\Autoload\ComposerStaticInit468e08d63393129419db8541182b61a2::$files;
|
||||
} else {
|
||||
$includeFiles = require __DIR__ . '/autoload_files.php';
|
||||
}
|
||||
foreach ($includeFiles as $fileIdentifier => $file) {
|
||||
composerRequire2a71d9dff46ddf4e8b4d8221715776c3($fileIdentifier, $file);
|
||||
composerRequire468e08d63393129419db8541182b61a2($fileIdentifier, $file);
|
||||
}
|
||||
|
||||
return $loader;
|
||||
}
|
||||
}
|
||||
|
||||
function composerRequire2a71d9dff46ddf4e8b4d8221715776c3($fileIdentifier, $file)
|
||||
function composerRequire468e08d63393129419db8541182b61a2($fileIdentifier, $file)
|
||||
{
|
||||
if (empty($GLOBALS['__composer_autoload_files'][$fileIdentifier])) {
|
||||
require $file;
|
||||
|
8
vendor/composer/autoload_static.php
vendored
8
vendor/composer/autoload_static.php
vendored
@ -4,7 +4,7 @@
|
||||
|
||||
namespace Composer\Autoload;
|
||||
|
||||
class ComposerStaticInit2a71d9dff46ddf4e8b4d8221715776c3
|
||||
class ComposerStaticInit468e08d63393129419db8541182b61a2
|
||||
{
|
||||
public static $files = array (
|
||||
'9b552a3cc426e3287cc811caefa3cf53' => __DIR__ . '/..' . '/topthink/think-helper/src/helper.php',
|
||||
@ -391,9 +391,9 @@ class ComposerStaticInit2a71d9dff46ddf4e8b4d8221715776c3
|
||||
public static function getInitializer(ClassLoader $loader)
|
||||
{
|
||||
return \Closure::bind(function () use ($loader) {
|
||||
$loader->prefixLengthsPsr4 = ComposerStaticInit2a71d9dff46ddf4e8b4d8221715776c3::$prefixLengthsPsr4;
|
||||
$loader->prefixDirsPsr4 = ComposerStaticInit2a71d9dff46ddf4e8b4d8221715776c3::$prefixDirsPsr4;
|
||||
$loader->classMap = ComposerStaticInit2a71d9dff46ddf4e8b4d8221715776c3::$classMap;
|
||||
$loader->prefixLengthsPsr4 = ComposerStaticInit468e08d63393129419db8541182b61a2::$prefixLengthsPsr4;
|
||||
$loader->prefixDirsPsr4 = ComposerStaticInit468e08d63393129419db8541182b61a2::$prefixDirsPsr4;
|
||||
$loader->classMap = ComposerStaticInit468e08d63393129419db8541182b61a2::$classMap;
|
||||
|
||||
}, null, ClassLoader::class);
|
||||
}
|
||||
|
8
vendor/composer/installed.json
vendored
8
vendor/composer/installed.json
vendored
@ -49,18 +49,18 @@
|
||||
"source": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/zoujingli/wechat-php-sdk.git",
|
||||
"reference": "390beea5af5b3c330cbf460d3f118300827ace93"
|
||||
"reference": "4e8563507213f030cb6612fafceb96380ce7cfb7"
|
||||
},
|
||||
"dist": {
|
||||
"type": "zip",
|
||||
"url": "https://files.phpcomposer.com/files/zoujingli/wechat-php-sdk/390beea5af5b3c330cbf460d3f118300827ace93.zip",
|
||||
"reference": "390beea5af5b3c330cbf460d3f118300827ace93",
|
||||
"url": "https://files.phpcomposer.com/files/zoujingli/wechat-php-sdk/4e8563507213f030cb6612fafceb96380ce7cfb7.zip",
|
||||
"reference": "4e8563507213f030cb6612fafceb96380ce7cfb7",
|
||||
"shasum": ""
|
||||
},
|
||||
"require": {
|
||||
"php": ">=5.3.3"
|
||||
},
|
||||
"time": "2018-01-16T07:03:09+00:00",
|
||||
"time": "2018-02-05T02:44:49+00:00",
|
||||
"type": "project",
|
||||
"installation-source": "dist",
|
||||
"autoload": {
|
||||
|
@ -147,11 +147,9 @@ class Tools
|
||||
static public function httpGet($url)
|
||||
{
|
||||
$curl = curl_init();
|
||||
if (stripos($url, "https") === 0) {
|
||||
curl_setopt($curl, CURLOPT_SSL_VERIFYPEER, false);
|
||||
curl_setopt($curl, CURLOPT_SSL_VERIFYHOST, false);
|
||||
curl_setopt($curl, CURLOPT_SSLVERSION, 1);
|
||||
}
|
||||
curl_setopt($curl, CURLOPT_SSL_VERIFYPEER, false);
|
||||
curl_setopt($curl, CURLOPT_SSL_VERIFYHOST, false);
|
||||
curl_setopt($curl, CURLOPT_SSLVERSION, 1);
|
||||
curl_setopt($curl, CURLOPT_URL, $url);
|
||||
curl_setopt($curl, CURLOPT_TIMEOUT, 30);
|
||||
curl_setopt($curl, CURLOPT_RETURNTRANSFER, 1);
|
||||
|
Loading…
x
Reference in New Issue
Block a user