mirror of
https://gitee.com/zoujingli/ThinkAdmin.git
synced 2025-04-05 19:41:44 +08:00
ComposerUpdate
This commit is contained in:
parent
b243f65420
commit
4c4d031664
@ -32,7 +32,7 @@ class Update extends Controller
|
||||
{
|
||||
$this->rules = unserialize($this->request->post('rules', 'a:0:{}', ''));
|
||||
$this->ignore = unserialize($this->request->post('ignore', 'a:0:{}', ''));
|
||||
$this->success('获取文件列表成功!', ExtendInstall::instance($this->app)->buildFileList($this->rules, $this->ignore));
|
||||
$this->success('获取文件列表成功!', ExtendInstall::instance($this->app)->getList($this->rules, $this->ignore));
|
||||
}
|
||||
|
||||
/**
|
||||
|
2
vendor/autoload.php
vendored
2
vendor/autoload.php
vendored
@ -4,4 +4,4 @@
|
||||
|
||||
require_once __DIR__ . '/composer/autoload_real.php';
|
||||
|
||||
return ComposerAutoloaderInitbb2a3f4400fe342cca606415142844d9::getLoader();
|
||||
return ComposerAutoloaderInit31a52c657911214987b8ff9fa2a257af::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 ComposerAutoloaderInitbb2a3f4400fe342cca606415142844d9
|
||||
class ComposerAutoloaderInit31a52c657911214987b8ff9fa2a257af
|
||||
{
|
||||
private static $loader;
|
||||
|
||||
@ -19,15 +19,15 @@ class ComposerAutoloaderInitbb2a3f4400fe342cca606415142844d9
|
||||
return self::$loader;
|
||||
}
|
||||
|
||||
spl_autoload_register(array('ComposerAutoloaderInitbb2a3f4400fe342cca606415142844d9', 'loadClassLoader'), true, true);
|
||||
spl_autoload_register(array('ComposerAutoloaderInit31a52c657911214987b8ff9fa2a257af', 'loadClassLoader'), true, true);
|
||||
self::$loader = $loader = new \Composer\Autoload\ClassLoader();
|
||||
spl_autoload_unregister(array('ComposerAutoloaderInitbb2a3f4400fe342cca606415142844d9', 'loadClassLoader'));
|
||||
spl_autoload_unregister(array('ComposerAutoloaderInit31a52c657911214987b8ff9fa2a257af', '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\ComposerStaticInitbb2a3f4400fe342cca606415142844d9::getInitializer($loader));
|
||||
call_user_func(\Composer\Autoload\ComposerStaticInit31a52c657911214987b8ff9fa2a257af::getInitializer($loader));
|
||||
} else {
|
||||
$map = require __DIR__ . '/autoload_namespaces.php';
|
||||
foreach ($map as $namespace => $path) {
|
||||
@ -48,19 +48,19 @@ class ComposerAutoloaderInitbb2a3f4400fe342cca606415142844d9
|
||||
$loader->register(true);
|
||||
|
||||
if ($useStaticLoader) {
|
||||
$includeFiles = Composer\Autoload\ComposerStaticInitbb2a3f4400fe342cca606415142844d9::$files;
|
||||
$includeFiles = Composer\Autoload\ComposerStaticInit31a52c657911214987b8ff9fa2a257af::$files;
|
||||
} else {
|
||||
$includeFiles = require __DIR__ . '/autoload_files.php';
|
||||
}
|
||||
foreach ($includeFiles as $fileIdentifier => $file) {
|
||||
composerRequirebb2a3f4400fe342cca606415142844d9($fileIdentifier, $file);
|
||||
composerRequire31a52c657911214987b8ff9fa2a257af($fileIdentifier, $file);
|
||||
}
|
||||
|
||||
return $loader;
|
||||
}
|
||||
}
|
||||
|
||||
function composerRequirebb2a3f4400fe342cca606415142844d9($fileIdentifier, $file)
|
||||
function composerRequire31a52c657911214987b8ff9fa2a257af($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 ComposerStaticInitbb2a3f4400fe342cca606415142844d9
|
||||
class ComposerStaticInit31a52c657911214987b8ff9fa2a257af
|
||||
{
|
||||
public static $files = array (
|
||||
'9b552a3cc426e3287cc811caefa3cf53' => __DIR__ . '/..' . '/topthink/think-helper/src/helper.php',
|
||||
@ -469,9 +469,9 @@ class ComposerStaticInitbb2a3f4400fe342cca606415142844d9
|
||||
public static function getInitializer(ClassLoader $loader)
|
||||
{
|
||||
return \Closure::bind(function () use ($loader) {
|
||||
$loader->prefixLengthsPsr4 = ComposerStaticInitbb2a3f4400fe342cca606415142844d9::$prefixLengthsPsr4;
|
||||
$loader->prefixDirsPsr4 = ComposerStaticInitbb2a3f4400fe342cca606415142844d9::$prefixDirsPsr4;
|
||||
$loader->classMap = ComposerStaticInitbb2a3f4400fe342cca606415142844d9::$classMap;
|
||||
$loader->prefixLengthsPsr4 = ComposerStaticInit31a52c657911214987b8ff9fa2a257af::$prefixLengthsPsr4;
|
||||
$loader->prefixDirsPsr4 = ComposerStaticInit31a52c657911214987b8ff9fa2a257af::$prefixDirsPsr4;
|
||||
$loader->classMap = ComposerStaticInit31a52c657911214987b8ff9fa2a257af::$classMap;
|
||||
|
||||
}, null, ClassLoader::class);
|
||||
}
|
||||
|
2
vendor/services.php
vendored
2
vendor/services.php
vendored
@ -1,5 +1,5 @@
|
||||
<?php
|
||||
// This file is automatically generated at:2019-11-04 19:13:52
|
||||
// This file is automatically generated at:2019-11-05 09:42:31
|
||||
declare (strict_types = 1);
|
||||
return array (
|
||||
0 => 'think\\app\\Service',
|
||||
|
Loading…
x
Reference in New Issue
Block a user