mirror of
https://gitee.com/zoujingli/ThinkAdmin.git
synced 2025-04-05 19:41:44 +08:00
[更新]ComposerUpdate
This commit is contained in:
parent
8bff473a5b
commit
58858143a1
2
vendor/autoload.php
vendored
2
vendor/autoload.php
vendored
@ -4,4 +4,4 @@
|
||||
|
||||
require_once __DIR__ . '/composer/autoload_real.php';
|
||||
|
||||
return ComposerAutoloaderInit3f46c2633b90dc529f1c66b4dabe4fa2::getLoader();
|
||||
return ComposerAutoloaderInit0fb64a24b8fcf6c274d9f346ead546e5::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 ComposerAutoloaderInit3f46c2633b90dc529f1c66b4dabe4fa2
|
||||
class ComposerAutoloaderInit0fb64a24b8fcf6c274d9f346ead546e5
|
||||
{
|
||||
private static $loader;
|
||||
|
||||
@ -19,15 +19,15 @@ class ComposerAutoloaderInit3f46c2633b90dc529f1c66b4dabe4fa2
|
||||
return self::$loader;
|
||||
}
|
||||
|
||||
spl_autoload_register(array('ComposerAutoloaderInit3f46c2633b90dc529f1c66b4dabe4fa2', 'loadClassLoader'), true, true);
|
||||
spl_autoload_register(array('ComposerAutoloaderInit0fb64a24b8fcf6c274d9f346ead546e5', 'loadClassLoader'), true, true);
|
||||
self::$loader = $loader = new \Composer\Autoload\ClassLoader();
|
||||
spl_autoload_unregister(array('ComposerAutoloaderInit3f46c2633b90dc529f1c66b4dabe4fa2', 'loadClassLoader'));
|
||||
spl_autoload_unregister(array('ComposerAutoloaderInit0fb64a24b8fcf6c274d9f346ead546e5', '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\ComposerStaticInit3f46c2633b90dc529f1c66b4dabe4fa2::getInitializer($loader));
|
||||
call_user_func(\Composer\Autoload\ComposerStaticInit0fb64a24b8fcf6c274d9f346ead546e5::getInitializer($loader));
|
||||
} else {
|
||||
$map = require __DIR__ . '/autoload_namespaces.php';
|
||||
foreach ($map as $namespace => $path) {
|
||||
@ -48,19 +48,19 @@ class ComposerAutoloaderInit3f46c2633b90dc529f1c66b4dabe4fa2
|
||||
$loader->register(true);
|
||||
|
||||
if ($useStaticLoader) {
|
||||
$includeFiles = Composer\Autoload\ComposerStaticInit3f46c2633b90dc529f1c66b4dabe4fa2::$files;
|
||||
$includeFiles = Composer\Autoload\ComposerStaticInit0fb64a24b8fcf6c274d9f346ead546e5::$files;
|
||||
} else {
|
||||
$includeFiles = require __DIR__ . '/autoload_files.php';
|
||||
}
|
||||
foreach ($includeFiles as $fileIdentifier => $file) {
|
||||
composerRequire3f46c2633b90dc529f1c66b4dabe4fa2($fileIdentifier, $file);
|
||||
composerRequire0fb64a24b8fcf6c274d9f346ead546e5($fileIdentifier, $file);
|
||||
}
|
||||
|
||||
return $loader;
|
||||
}
|
||||
}
|
||||
|
||||
function composerRequire3f46c2633b90dc529f1c66b4dabe4fa2($fileIdentifier, $file)
|
||||
function composerRequire0fb64a24b8fcf6c274d9f346ead546e5($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 ComposerStaticInit3f46c2633b90dc529f1c66b4dabe4fa2
|
||||
class ComposerStaticInit0fb64a24b8fcf6c274d9f346ead546e5
|
||||
{
|
||||
public static $files = array (
|
||||
'841780ea2e1d6545ea3a253239d59c05' => __DIR__ . '/..' . '/qiniu/php-sdk/src/Qiniu/functions.php',
|
||||
@ -347,9 +347,9 @@ class ComposerStaticInit3f46c2633b90dc529f1c66b4dabe4fa2
|
||||
public static function getInitializer(ClassLoader $loader)
|
||||
{
|
||||
return \Closure::bind(function () use ($loader) {
|
||||
$loader->prefixLengthsPsr4 = ComposerStaticInit3f46c2633b90dc529f1c66b4dabe4fa2::$prefixLengthsPsr4;
|
||||
$loader->prefixDirsPsr4 = ComposerStaticInit3f46c2633b90dc529f1c66b4dabe4fa2::$prefixDirsPsr4;
|
||||
$loader->classMap = ComposerStaticInit3f46c2633b90dc529f1c66b4dabe4fa2::$classMap;
|
||||
$loader->prefixLengthsPsr4 = ComposerStaticInit0fb64a24b8fcf6c274d9f346ead546e5::$prefixLengthsPsr4;
|
||||
$loader->prefixDirsPsr4 = ComposerStaticInit0fb64a24b8fcf6c274d9f346ead546e5::$prefixDirsPsr4;
|
||||
$loader->classMap = ComposerStaticInit0fb64a24b8fcf6c274d9f346ead546e5::$classMap;
|
||||
|
||||
}, null, ClassLoader::class);
|
||||
}
|
||||
|
8
vendor/composer/installed.json
vendored
8
vendor/composer/installed.json
vendored
@ -502,12 +502,12 @@
|
||||
"source": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/zoujingli/ThinkLibrary.git",
|
||||
"reference": "b13d79c63a28ee81c31a7f2503ca82635bce8e1d"
|
||||
"reference": "24bcdb7c64369f75501241317b8f5c980d074aad"
|
||||
},
|
||||
"dist": {
|
||||
"type": "zip",
|
||||
"url": "https://api.github.com/repos/zoujingli/ThinkLibrary/zipball/b13d79c63a28ee81c31a7f2503ca82635bce8e1d",
|
||||
"reference": "b13d79c63a28ee81c31a7f2503ca82635bce8e1d",
|
||||
"url": "https://api.github.com/repos/zoujingli/ThinkLibrary/zipball/24bcdb7c64369f75501241317b8f5c980d074aad",
|
||||
"reference": "24bcdb7c64369f75501241317b8f5c980d074aad",
|
||||
"shasum": "",
|
||||
"mirrors": [
|
||||
{
|
||||
@ -526,7 +526,7 @@
|
||||
"qiniu/php-sdk": "^7.2",
|
||||
"topthink/framework": "5.1.*"
|
||||
},
|
||||
"time": "2019-07-31T03:00:34+00:00",
|
||||
"time": "2019-08-01T01:56:59+00:00",
|
||||
"type": "library",
|
||||
"installation-source": "dist",
|
||||
"autoload": {
|
||||
|
7
vendor/zoujingli/think-library/src/File.php
vendored
7
vendor/zoujingli/think-library/src/File.php
vendored
@ -174,9 +174,8 @@ class File
|
||||
try {
|
||||
$file = self::instance('local');
|
||||
$name = self::name($url, '', 'down/');
|
||||
if ($file->has($name) && empty($force)) {
|
||||
if (empty($expire)) return $file->info($name);
|
||||
if (filemtime($file->path($name)) + $expire > time()) {
|
||||
if (empty($force) && $file->has($name)) {
|
||||
if ($expire < 1 || filemtime($file->path($name)) + $expire > time()) {
|
||||
return $file->info($name);
|
||||
}
|
||||
}
|
||||
@ -210,7 +209,7 @@ class File
|
||||
try {
|
||||
// 初始化存储
|
||||
File::init();
|
||||
// \think\facade\Log::info(__METHOD__ . ' File storage initialization success');
|
||||
// Log::info(__METHOD__ . ' File storage initialization success');
|
||||
} catch (\Exception $e) {
|
||||
Log::error(__METHOD__ . " File storage initialization exception. [{$e->getMessage()}]");
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user