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