mirror of
https://gitee.com/zoujingli/ThinkAdmin.git
synced 2025-04-06 03:58:04 +08:00
[更新]ComposerUpdate
This commit is contained in:
parent
30bc1d6507
commit
82e6edb3ff
@ -1,6 +1,6 @@
|
||||
:: Composer 安装更新脚本
|
||||
@echo off
|
||||
title ComposerPlugs Update & Optimize
|
||||
title Composer Plugs Update and Optimize
|
||||
echo.
|
||||
echo ========= 1. 清理已安装插件 =========
|
||||
@rmdir /s/q vendor thinkphp
|
||||
|
2
vendor/autoload.php
vendored
2
vendor/autoload.php
vendored
@ -4,4 +4,4 @@
|
||||
|
||||
require_once __DIR__ . '/composer/autoload_real.php';
|
||||
|
||||
return ComposerAutoloaderInit5ebb2fe2d90c733f95913929be53c6ee::getLoader();
|
||||
return ComposerAutoloaderInit664b5cbfe1e72b3e993dce3dea0bcb98::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 ComposerAutoloaderInit5ebb2fe2d90c733f95913929be53c6ee
|
||||
class ComposerAutoloaderInit664b5cbfe1e72b3e993dce3dea0bcb98
|
||||
{
|
||||
private static $loader;
|
||||
|
||||
@ -19,15 +19,15 @@ class ComposerAutoloaderInit5ebb2fe2d90c733f95913929be53c6ee
|
||||
return self::$loader;
|
||||
}
|
||||
|
||||
spl_autoload_register(array('ComposerAutoloaderInit5ebb2fe2d90c733f95913929be53c6ee', 'loadClassLoader'), true, true);
|
||||
spl_autoload_register(array('ComposerAutoloaderInit664b5cbfe1e72b3e993dce3dea0bcb98', 'loadClassLoader'), true, true);
|
||||
self::$loader = $loader = new \Composer\Autoload\ClassLoader();
|
||||
spl_autoload_unregister(array('ComposerAutoloaderInit5ebb2fe2d90c733f95913929be53c6ee', 'loadClassLoader'));
|
||||
spl_autoload_unregister(array('ComposerAutoloaderInit664b5cbfe1e72b3e993dce3dea0bcb98', '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\ComposerStaticInit5ebb2fe2d90c733f95913929be53c6ee::getInitializer($loader));
|
||||
call_user_func(\Composer\Autoload\ComposerStaticInit664b5cbfe1e72b3e993dce3dea0bcb98::getInitializer($loader));
|
||||
} else {
|
||||
$map = require __DIR__ . '/autoload_namespaces.php';
|
||||
foreach ($map as $namespace => $path) {
|
||||
@ -48,19 +48,19 @@ class ComposerAutoloaderInit5ebb2fe2d90c733f95913929be53c6ee
|
||||
$loader->register(true);
|
||||
|
||||
if ($useStaticLoader) {
|
||||
$includeFiles = Composer\Autoload\ComposerStaticInit5ebb2fe2d90c733f95913929be53c6ee::$files;
|
||||
$includeFiles = Composer\Autoload\ComposerStaticInit664b5cbfe1e72b3e993dce3dea0bcb98::$files;
|
||||
} else {
|
||||
$includeFiles = require __DIR__ . '/autoload_files.php';
|
||||
}
|
||||
foreach ($includeFiles as $fileIdentifier => $file) {
|
||||
composerRequire5ebb2fe2d90c733f95913929be53c6ee($fileIdentifier, $file);
|
||||
composerRequire664b5cbfe1e72b3e993dce3dea0bcb98($fileIdentifier, $file);
|
||||
}
|
||||
|
||||
return $loader;
|
||||
}
|
||||
}
|
||||
|
||||
function composerRequire5ebb2fe2d90c733f95913929be53c6ee($fileIdentifier, $file)
|
||||
function composerRequire664b5cbfe1e72b3e993dce3dea0bcb98($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 ComposerStaticInit5ebb2fe2d90c733f95913929be53c6ee
|
||||
class ComposerStaticInit664b5cbfe1e72b3e993dce3dea0bcb98
|
||||
{
|
||||
public static $files = array (
|
||||
'1cfd2761b63b0a29ed23657ea394cb2d' => __DIR__ . '/..' . '/topthink/think-captcha/src/helper.php',
|
||||
@ -257,9 +257,9 @@ class ComposerStaticInit5ebb2fe2d90c733f95913929be53c6ee
|
||||
public static function getInitializer(ClassLoader $loader)
|
||||
{
|
||||
return \Closure::bind(function () use ($loader) {
|
||||
$loader->prefixLengthsPsr4 = ComposerStaticInit5ebb2fe2d90c733f95913929be53c6ee::$prefixLengthsPsr4;
|
||||
$loader->prefixDirsPsr4 = ComposerStaticInit5ebb2fe2d90c733f95913929be53c6ee::$prefixDirsPsr4;
|
||||
$loader->classMap = ComposerStaticInit5ebb2fe2d90c733f95913929be53c6ee::$classMap;
|
||||
$loader->prefixLengthsPsr4 = ComposerStaticInit664b5cbfe1e72b3e993dce3dea0bcb98::$prefixLengthsPsr4;
|
||||
$loader->prefixDirsPsr4 = ComposerStaticInit664b5cbfe1e72b3e993dce3dea0bcb98::$prefixDirsPsr4;
|
||||
$loader->classMap = ComposerStaticInit664b5cbfe1e72b3e993dce3dea0bcb98::$classMap;
|
||||
|
||||
}, null, ClassLoader::class);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user