├── Application
├── index.html
├── Home
│ ├── index.html
│ ├── Conf
│ │ ├── index.html
│ │ └── config.php
│ ├── View
│ │ ├── index.html
│ │ ├── 404.html
│ │ ├── Index
│ │ │ └── search.html
│ │ └── Index_search.html
│ ├── Common
│ │ └── index.html
│ ├── Model
│ │ └── index.html
│ └── Controller
│ │ ├── index.html
│ │ └── IndexController.class.php
├── README.md
├── Admin
│ ├── index.html
│ ├── Common
│ │ ├── index.html
│ │ └── function.php
│ ├── Conf
│ │ ├── index.html
│ │ └── config.php
│ ├── Model
│ │ ├── index.html
│ │ └── AdminModel.class.php
│ ├── Controller
│ │ ├── index.html
│ │ ├── CommonController.class.php
│ │ └── IndexController.class.php
│ └── View
│ │ └── header.html
├── Common
│ ├── index.html
│ ├── Common
│ │ ├── index.html
│ │ └── function.php
│ └── Conf
│ │ ├── index.html
│ │ └── config.php
└── Runtime
│ ├── index.html
│ ├── Cache
│ ├── index.html
│ └── Home
│ │ ├── index.html
│ │ ├── 99754106633f94d350db34d548d6091a.php
│ │ └── 20914c0f075f91df3579ffbdf5180b02.php
│ ├── Data
│ └── index.html
│ ├── Logs
│ ├── index.html
│ ├── Home
│ │ └── index.html
│ └── Common
│ │ └── 15_11_20.log
│ └── Temp
│ └── index.html
├── Public
├── README.md
├── css
│ ├── style3.css
│ ├── woff
│ │ ├── 32nyIRHyCu6iqEka_hbKsnhCUOGz7vYGh680lGh-uXM.woff
│ │ ├── DXI1ORHCpsQm3Vp6mXoaTXhCUOGz7vYGh680lGh-uXM.woff
│ │ ├── EInbV5DfGHOiMmvb1Xr-hnhCUOGz7vYGh680lGh-uXM.woff
│ │ ├── MTP_ySUJH_bn48VBG8sNSnhCUOGz7vYGh680lGh-uXM.woff
│ │ ├── cJZKeOuBrn4kERxqtaUH3T8E0i7KZn-EPnyo3HZu7kw.woff
│ │ ├── k3k702ZOKiLJc3WVjuplzHhCUOGz7vYGh680lGh-uXM.woff
│ │ ├── qhfoJiLu10kFjChCCTvGlHhCUOGz7vYGh680lGh-uXM.woff
│ │ └── sKd0EMYPAh5PYCRKSryvWz8E0i7KZn-EPnyo3HZu7kw.woff
│ ├── login.css
│ ├── style1.css
│ └── style2.css
├── images
│ ├── app.png
│ ├── bg1.png
│ ├── ioc.png
│ ├── cloud.png
│ ├── home.png
│ ├── tick.png
│ ├── channel.png
│ ├── custom.png
│ ├── dasheng.jpg
│ ├── erweima.jpg
│ ├── ioc-02.png
│ ├── ioc-03.png
│ ├── ioc-04.png
│ ├── search.png
│ ├── source.png
│ ├── system.png
│ ├── triangle.png
│ ├── select_xl.png
│ ├── statistics.png
│ ├── select_xl01.png
│ ├── syetem_management.png
│ ├── glyphicons-halflings.png
│ └── glyphicons-halflings-white.png
├── img
│ ├── tmp
│ │ ├── 160x120.gif
│ │ ├── 260x180.gif
│ │ ├── 360x268.gif
│ │ └── 670x240.gif
│ ├── glyphicons-halflings.png
│ └── glyphicons-halflings-white.png
└── woff
│ ├── 32nyIRHyCu6iqEka_hbKsnhCUOGz7vYGh680lGh-uXM.woff
│ ├── DXI1ORHCpsQm3Vp6mXoaTXhCUOGz7vYGh680lGh-uXM.woff
│ ├── EInbV5DfGHOiMmvb1Xr-hnhCUOGz7vYGh680lGh-uXM.woff
│ ├── MTP_ySUJH_bn48VBG8sNSnhCUOGz7vYGh680lGh-uXM.woff
│ ├── cJZKeOuBrn4kERxqtaUH3T8E0i7KZn-EPnyo3HZu7kw.woff
│ ├── k3k702ZOKiLJc3WVjuplzHhCUOGz7vYGh680lGh-uXM.woff
│ ├── qhfoJiLu10kFjChCCTvGlHhCUOGz7vYGh680lGh-uXM.woff
│ └── sKd0EMYPAh5PYCRKSryvWz8E0i7KZn-EPnyo3HZu7kw.woff
├── ThinkPHP
├── Library
│ ├── Vendor
│ │ ├── README.txt
│ │ ├── Elasticsearch
│ │ │ ├── psr
│ │ │ │ └── log
│ │ │ │ │ ├── .gitignore
│ │ │ │ │ ├── Psr
│ │ │ │ │ └── Log
│ │ │ │ │ │ ├── InvalidArgumentException.php
│ │ │ │ │ │ ├── LoggerAwareInterface.php
│ │ │ │ │ │ ├── LogLevel.php
│ │ │ │ │ │ ├── LoggerAwareTrait.php
│ │ │ │ │ │ └── NullLogger.php
│ │ │ │ │ ├── composer.json
│ │ │ │ │ ├── LICENSE
│ │ │ │ │ └── README.md
│ │ │ ├── guzzlehttp
│ │ │ │ ├── ringphp
│ │ │ │ │ ├── docs
│ │ │ │ │ │ ├── requirements.txt
│ │ │ │ │ │ └── conf.py
│ │ │ │ │ ├── .gitignore
│ │ │ │ │ ├── src
│ │ │ │ │ │ ├── Exception
│ │ │ │ │ │ │ ├── RingException.php
│ │ │ │ │ │ │ ├── CancelledException.php
│ │ │ │ │ │ │ ├── CancelledFutureAccessException.php
│ │ │ │ │ │ │ └── ConnectException.php
│ │ │ │ │ │ └── Future
│ │ │ │ │ │ │ ├── FutureArrayInterface.php
│ │ │ │ │ │ │ ├── FutureValue.php
│ │ │ │ │ │ │ ├── FutureArray.php
│ │ │ │ │ │ │ ├── MagicFutureTrait.php
│ │ │ │ │ │ │ └── CompletedFutureArray.php
│ │ │ │ │ ├── tests
│ │ │ │ │ │ ├── bootstrap.php
│ │ │ │ │ │ └── Future
│ │ │ │ │ │ │ └── CompletedFutureArrayTest.php
│ │ │ │ │ ├── .travis.yml
│ │ │ │ │ ├── phpunit.xml.dist
│ │ │ │ │ ├── Makefile
│ │ │ │ │ ├── composer.json
│ │ │ │ │ └── LICENSE
│ │ │ │ └── streams
│ │ │ │ │ ├── .gitignore
│ │ │ │ │ ├── src
│ │ │ │ │ ├── Exception
│ │ │ │ │ │ ├── CannotAttachException.php
│ │ │ │ │ │ └── SeekException.php
│ │ │ │ │ ├── MetadataStreamInterface.php
│ │ │ │ │ ├── NoSeekStream.php
│ │ │ │ │ ├── LazyOpenStream.php
│ │ │ │ │ ├── InflateStream.php
│ │ │ │ │ └── DroppingStream.php
│ │ │ │ │ ├── .travis.yml
│ │ │ │ │ ├── Makefile
│ │ │ │ │ ├── tests
│ │ │ │ │ ├── InflateStreamTest.php
│ │ │ │ │ ├── Exception
│ │ │ │ │ │ └── SeekExceptionTest.php
│ │ │ │ │ ├── DroppingStreamTest.php
│ │ │ │ │ └── NullStreamTest.php
│ │ │ │ │ ├── phpunit.xml.dist
│ │ │ │ │ ├── composer.json
│ │ │ │ │ ├── README.rst
│ │ │ │ │ └── LICENSE
│ │ │ ├── react
│ │ │ │ └── promise
│ │ │ │ │ ├── .gitignore
│ │ │ │ │ ├── src
│ │ │ │ │ ├── functions_include.php
│ │ │ │ │ ├── Exception
│ │ │ │ │ │ └── LengthException.php
│ │ │ │ │ ├── PromisorInterface.php
│ │ │ │ │ ├── CancellablePromiseInterface.php
│ │ │ │ │ ├── PromiseInterface.php
│ │ │ │ │ ├── ExtendedPromiseInterface.php
│ │ │ │ │ └── UnhandledRejectionException.php
│ │ │ │ │ ├── tests
│ │ │ │ │ ├── Stub
│ │ │ │ │ │ └── CallableStub.php
│ │ │ │ │ ├── bootstrap.php
│ │ │ │ │ ├── fixtures
│ │ │ │ │ │ ├── SimpleTestCancellable.php
│ │ │ │ │ │ ├── SimpleTestCancellableThenable.php
│ │ │ │ │ │ ├── SimpleFulfilledTestThenable.php
│ │ │ │ │ │ ├── SimpleFulfilledTestPromise.php
│ │ │ │ │ │ └── SimpleRejectedTestPromise.php
│ │ │ │ │ ├── PromiseAdapter
│ │ │ │ │ │ ├── PromiseAdapterInterface.php
│ │ │ │ │ │ └── CallbackPromiseAdapter.php
│ │ │ │ │ ├── PromiseTest
│ │ │ │ │ │ └── FullTestTrait.php
│ │ │ │ │ ├── TestCase.php
│ │ │ │ │ └── DeferredTest.php
│ │ │ │ │ ├── .travis.yml
│ │ │ │ │ ├── composer.json
│ │ │ │ │ ├── phpunit.xml.dist
│ │ │ │ │ └── LICENSE
│ │ │ ├── elasticsearch
│ │ │ │ └── elasticsearch
│ │ │ │ │ ├── .gitmodules
│ │ │ │ │ ├── docs
│ │ │ │ │ ├── php-version-requirement.asciidoc
│ │ │ │ │ ├── overview.asciidoc
│ │ │ │ │ ├── index.asciidoc
│ │ │ │ │ └── breaking-changes.asciidoc
│ │ │ │ │ ├── .gitignore
│ │ │ │ │ ├── .php_cs
│ │ │ │ │ ├── src
│ │ │ │ │ └── Elasticsearch
│ │ │ │ │ │ ├── Common
│ │ │ │ │ │ ├── Exceptions
│ │ │ │ │ │ │ ├── ElasticsearchException.php
│ │ │ │ │ │ │ ├── Missing404Exception.php
│ │ │ │ │ │ │ ├── RuntimeException.php
│ │ │ │ │ │ │ ├── TransportException.php
│ │ │ │ │ │ │ ├── Forbidden403Exception.php
│ │ │ │ │ │ │ ├── MaxRetriesException.php
│ │ │ │ │ │ │ ├── NoNodesAvailableException.php
│ │ │ │ │ │ │ ├── NoDocumentsToGetException.php
│ │ │ │ │ │ │ ├── NoShardAvailableException.php
│ │ │ │ │ │ │ ├── RequestTimeout408Exception.php
│ │ │ │ │ │ │ ├── ServerErrorResponseException.php
│ │ │ │ │ │ │ ├── ClientErrorResponseException.php
│ │ │ │ │ │ │ ├── Conflict409Exception.php
│ │ │ │ │ │ │ ├── BadRequest400Exception.php
│ │ │ │ │ │ │ ├── ScriptLangNotSupportedException.php
│ │ │ │ │ │ │ ├── AlreadyExpiredException.php
│ │ │ │ │ │ │ ├── InvalidArgumentException.php
│ │ │ │ │ │ │ ├── RoutingMissingException.php
│ │ │ │ │ │ │ ├── UnexpectedValueException.php
│ │ │ │ │ │ │ ├── BadMethodCallException.php
│ │ │ │ │ │ │ └── Curl
│ │ │ │ │ │ │ │ ├── CouldNotConnectToHost.php
│ │ │ │ │ │ │ │ ├── OperationTimeoutException.php
│ │ │ │ │ │ │ │ └── CouldNotResolveHostException.php
│ │ │ │ │ │ └── EmptyLogger.php
│ │ │ │ │ │ ├── ConnectionPool
│ │ │ │ │ │ ├── ConnectionPoolInterface.php
│ │ │ │ │ │ ├── Selectors
│ │ │ │ │ │ │ ├── SelectorInterface.php
│ │ │ │ │ │ │ ├── RandomSelector.php
│ │ │ │ │ │ │ └── RoundRobinSelector.php
│ │ │ │ │ │ └── SimpleConnectionPool.php
│ │ │ │ │ │ ├── Endpoints
│ │ │ │ │ │ ├── BulkEndpointInterface.php
│ │ │ │ │ │ ├── Indices
│ │ │ │ │ │ │ ├── Template
│ │ │ │ │ │ │ │ └── AbstractTemplateEndpoint.php
│ │ │ │ │ │ │ ├── Alias
│ │ │ │ │ │ │ │ └── AbstractAliasEndpoint.php
│ │ │ │ │ │ │ ├── Delete.php
│ │ │ │ │ │ │ ├── Seal.php
│ │ │ │ │ │ │ ├── Recovery.php
│ │ │ │ │ │ │ ├── Snapshotindex.php
│ │ │ │ │ │ │ ├── Gateway
│ │ │ │ │ │ │ │ └── Snapshot.php
│ │ │ │ │ │ │ ├── Refresh.php
│ │ │ │ │ │ │ └── Segments.php
│ │ │ │ │ │ ├── Info.php
│ │ │ │ │ │ ├── Ping.php
│ │ │ │ │ │ ├── Cat
│ │ │ │ │ │ │ ├── Help.php
│ │ │ │ │ │ │ ├── Nodes.php
│ │ │ │ │ │ │ ├── Master.php
│ │ │ │ │ │ │ ├── Plugins.php
│ │ │ │ │ │ │ ├── NodeAttrs.php
│ │ │ │ │ │ │ ├── Health.php
│ │ │ │ │ │ │ ├── PendingTasks.php
│ │ │ │ │ │ │ ├── Repositories.php
│ │ │ │ │ │ │ ├── ThreadPool.php
│ │ │ │ │ │ │ ├── Count.php
│ │ │ │ │ │ │ ├── Shards.php
│ │ │ │ │ │ │ ├── Recovery.php
│ │ │ │ │ │ │ └── Indices.php
│ │ │ │ │ │ ├── Cluster
│ │ │ │ │ │ │ ├── PendingTasks.php
│ │ │ │ │ │ │ ├── Settings
│ │ │ │ │ │ │ │ └── Get.php
│ │ │ │ │ │ │ └── Nodes
│ │ │ │ │ │ │ │ ├── Shutdown.php
│ │ │ │ │ │ │ │ └── HotThreads.php
│ │ │ │ │ │ └── Template
│ │ │ │ │ │ │ └── Get.php
│ │ │ │ │ │ ├── Serializers
│ │ │ │ │ │ ├── SerializerInterface.php
│ │ │ │ │ │ └── EverythingToJSONSerializer.php
│ │ │ │ │ │ └── Connections
│ │ │ │ │ │ └── ConnectionFactoryInterface.php
│ │ │ │ │ ├── .github
│ │ │ │ │ ├── PULL_REQUEST_TEMPLATE.md
│ │ │ │ │ └── ISSUE_TEMPLATE.md
│ │ │ │ │ ├── phpunit.xml
│ │ │ │ │ ├── tests
│ │ │ │ │ ├── bootstrap.php
│ │ │ │ │ └── Elasticsearch
│ │ │ │ │ │ └── Tests
│ │ │ │ │ │ └── ConnectionPool
│ │ │ │ │ │ └── SniffingConnectionPoolIntegrationTest.php
│ │ │ │ │ ├── util
│ │ │ │ │ ├── EnsureClusterAlive.php
│ │ │ │ │ └── RestSpecRunner.php
│ │ │ │ │ ├── .travis.yml
│ │ │ │ │ └── composer.json
│ │ │ ├── autoload.php
│ │ │ └── composer
│ │ │ │ ├── autoload_classmap.php
│ │ │ │ ├── autoload_namespaces.php
│ │ │ │ ├── autoload_files.php
│ │ │ │ ├── autoload_psr4.php
│ │ │ │ └── LICENSE
│ │ ├── spyc
│ │ │ ├── tests
│ │ │ │ ├── failing1.yaml
│ │ │ │ ├── comments.yaml
│ │ │ │ ├── quotes.yaml
│ │ │ │ └── indent_1.yaml
│ │ │ ├── examples
│ │ │ │ ├── yaml-load.php
│ │ │ │ └── yaml-dump.php
│ │ │ ├── composer.json
│ │ │ ├── php4
│ │ │ │ └── 5to4.php
│ │ │ ├── README.md
│ │ │ └── COPYING
│ │ ├── phpRPC
│ │ │ └── pecl
│ │ │ │ └── xxtea
│ │ │ │ ├── CREDITS
│ │ │ │ ├── config.w32
│ │ │ │ ├── config.m4
│ │ │ │ ├── test
│ │ │ │ └── test.php
│ │ │ │ └── README
│ │ ├── Boris
│ │ │ ├── ExportInspector.php
│ │ │ ├── DumpInspector.php
│ │ │ └── Inspector.php
│ │ ├── Smarty
│ │ │ ├── plugins
│ │ │ │ ├── modifiercompiler.noprint.php
│ │ │ │ ├── variablefilter.htmlspecialchars.php
│ │ │ │ ├── modifiercompiler.string_format.php
│ │ │ │ ├── modifiercompiler.cat.php
│ │ │ │ ├── modifiercompiler.count_paragraphs.php
│ │ │ │ ├── modifier.spacify.php
│ │ │ │ ├── modifiercompiler.indent.php
│ │ │ │ ├── modifiercompiler.count_sentences.php
│ │ │ │ ├── modifiercompiler.strip_tags.php
│ │ │ │ ├── modifiercompiler.upper.php
│ │ │ │ ├── modifiercompiler.lower.php
│ │ │ │ ├── modifiercompiler.strip.php
│ │ │ │ ├── modifiercompiler.default.php
│ │ │ │ ├── modifiercompiler.to_charset.php
│ │ │ │ ├── modifiercompiler.from_charset.php
│ │ │ │ ├── modifier.replace.php
│ │ │ │ ├── modifiercompiler.count_characters.php
│ │ │ │ ├── modifiercompiler.count_words.php
│ │ │ │ └── shared.literal_compiler_param.php
│ │ │ └── sysplugins
│ │ │ │ ├── smarty_resource_recompiled.php
│ │ │ │ ├── smarty_internal_get_include_path.php
│ │ │ │ ├── smarty_internal_compile_ldelim.php
│ │ │ │ ├── smarty_internal_compile_rdelim.php
│ │ │ │ └── smarty_internal_compile_debug.php
│ │ ├── TemplateLite
│ │ │ └── internal
│ │ │ │ ├── template.build_dir.php
│ │ │ │ └── compile.compile_custom_function.php
│ │ └── EaseTemplate
│ │ │ └── template.ease.php
│ ├── Think
│ │ ├── Verify
│ │ │ ├── bgs
│ │ │ │ ├── 1.jpg
│ │ │ │ ├── 2.jpg
│ │ │ │ ├── 3.jpg
│ │ │ │ ├── 4.jpg
│ │ │ │ ├── 5.jpg
│ │ │ │ ├── 6.jpg
│ │ │ │ ├── 7.jpg
│ │ │ │ └── 8.jpg
│ │ │ └── ttfs
│ │ │ │ ├── 1.ttf
│ │ │ │ ├── 2.ttf
│ │ │ │ ├── 3.ttf
│ │ │ │ ├── 4.ttf
│ │ │ │ ├── 5.ttf
│ │ │ │ └── 6.ttf
│ │ ├── Exception.class.php
│ │ ├── Behavior.class.php
│ │ ├── Template
│ │ │ └── Driver
│ │ │ │ └── Mobile.class.php
│ │ └── Controller
│ │ │ └── JsonRpcController.class.php
│ └── Behavior
│ │ └── AgentCheckBehavior.class.php
├── logo.png
└── Conf
│ └── debug.php
├── .gitignore
├── .htaccess
├── script
└── conf
│ └── searchku.conf
├── composer.json
└── index.php
/Application/index.html:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/Public/README.md:
--------------------------------------------------------------------------------
1 | 资源文件目录
--------------------------------------------------------------------------------
/Public/css/style3.css:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/Application/Home/index.html:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/Application/README.md:
--------------------------------------------------------------------------------
1 | 项目目录
--------------------------------------------------------------------------------
/Application/Admin/index.html:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/Application/Common/index.html:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/Application/Home/Conf/index.html:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/Application/Home/View/index.html:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/Application/Runtime/index.html:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/Application/Admin/Common/index.html:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/Application/Admin/Conf/index.html:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/Application/Admin/Model/index.html:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/Application/Common/Common/index.html:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/Application/Common/Conf/index.html:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/Application/Home/Common/index.html:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/Application/Home/Model/index.html:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/Application/Runtime/Cache/index.html:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/Application/Runtime/Data/index.html:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/Application/Runtime/Logs/index.html:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/Application/Runtime/Temp/index.html:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/Application/Admin/Controller/index.html:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/Application/Home/Controller/index.html:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/Application/Runtime/Cache/Home/index.html:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/Application/Runtime/Logs/Home/index.html:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/ThinkPHP/Library/Vendor/README.txt:
--------------------------------------------------------------------------------
1 | 第三方类库包目录
--------------------------------------------------------------------------------
/.gitignore:
--------------------------------------------------------------------------------
1 | *.log
2 | .DS_Store
3 | Application/Runtime/Cache/
4 |
--------------------------------------------------------------------------------
/ThinkPHP/Library/Vendor/Elasticsearch/psr/log/.gitignore:
--------------------------------------------------------------------------------
1 | vendor
2 |
--------------------------------------------------------------------------------
/ThinkPHP/Library/Vendor/spyc/tests/failing1.yaml:
--------------------------------------------------------------------------------
1 | MyObject:
2 | Prop1: {key1:val1}
--------------------------------------------------------------------------------
/ThinkPHP/logo.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/fengxuangit/searchku/HEAD/ThinkPHP/logo.png
--------------------------------------------------------------------------------
/Public/images/app.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/fengxuangit/searchku/HEAD/Public/images/app.png
--------------------------------------------------------------------------------
/Public/images/bg1.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/fengxuangit/searchku/HEAD/Public/images/bg1.png
--------------------------------------------------------------------------------
/Public/images/ioc.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/fengxuangit/searchku/HEAD/Public/images/ioc.png
--------------------------------------------------------------------------------
/Public/images/cloud.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/fengxuangit/searchku/HEAD/Public/images/cloud.png
--------------------------------------------------------------------------------
/Public/images/home.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/fengxuangit/searchku/HEAD/Public/images/home.png
--------------------------------------------------------------------------------
/Public/images/tick.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/fengxuangit/searchku/HEAD/Public/images/tick.png
--------------------------------------------------------------------------------
/ThinkPHP/Library/Vendor/Elasticsearch/guzzlehttp/ringphp/docs/requirements.txt:
--------------------------------------------------------------------------------
1 | sphinx_rtd_theme
2 |
--------------------------------------------------------------------------------
/Public/images/channel.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/fengxuangit/searchku/HEAD/Public/images/channel.png
--------------------------------------------------------------------------------
/Public/images/custom.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/fengxuangit/searchku/HEAD/Public/images/custom.png
--------------------------------------------------------------------------------
/Public/images/dasheng.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/fengxuangit/searchku/HEAD/Public/images/dasheng.jpg
--------------------------------------------------------------------------------
/Public/images/erweima.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/fengxuangit/searchku/HEAD/Public/images/erweima.jpg
--------------------------------------------------------------------------------
/Public/images/ioc-02.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/fengxuangit/searchku/HEAD/Public/images/ioc-02.png
--------------------------------------------------------------------------------
/Public/images/ioc-03.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/fengxuangit/searchku/HEAD/Public/images/ioc-03.png
--------------------------------------------------------------------------------
/Public/images/ioc-04.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/fengxuangit/searchku/HEAD/Public/images/ioc-04.png
--------------------------------------------------------------------------------
/Public/images/search.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/fengxuangit/searchku/HEAD/Public/images/search.png
--------------------------------------------------------------------------------
/Public/images/source.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/fengxuangit/searchku/HEAD/Public/images/source.png
--------------------------------------------------------------------------------
/Public/images/system.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/fengxuangit/searchku/HEAD/Public/images/system.png
--------------------------------------------------------------------------------
/Public/images/triangle.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/fengxuangit/searchku/HEAD/Public/images/triangle.png
--------------------------------------------------------------------------------
/Public/img/tmp/160x120.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/fengxuangit/searchku/HEAD/Public/img/tmp/160x120.gif
--------------------------------------------------------------------------------
/Public/img/tmp/260x180.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/fengxuangit/searchku/HEAD/Public/img/tmp/260x180.gif
--------------------------------------------------------------------------------
/Public/img/tmp/360x268.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/fengxuangit/searchku/HEAD/Public/img/tmp/360x268.gif
--------------------------------------------------------------------------------
/Public/img/tmp/670x240.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/fengxuangit/searchku/HEAD/Public/img/tmp/670x240.gif
--------------------------------------------------------------------------------
/ThinkPHP/Library/Vendor/phpRPC/pecl/xxtea/CREDITS:
--------------------------------------------------------------------------------
1 | XXTEA PHP extension
2 | Ma Bingyao (andot@coolcode.cn)
3 |
--------------------------------------------------------------------------------
/Public/images/select_xl.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/fengxuangit/searchku/HEAD/Public/images/select_xl.png
--------------------------------------------------------------------------------
/Public/images/statistics.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/fengxuangit/searchku/HEAD/Public/images/statistics.png
--------------------------------------------------------------------------------
/Application/Runtime/Cache/Home/99754106633f94d350db34d548d6091a.php:
--------------------------------------------------------------------------------
1 | fuck
--------------------------------------------------------------------------------
/Public/images/select_xl01.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/fengxuangit/searchku/HEAD/Public/images/select_xl01.png
--------------------------------------------------------------------------------
/Public/images/syetem_management.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/fengxuangit/searchku/HEAD/Public/images/syetem_management.png
--------------------------------------------------------------------------------
/Public/img/glyphicons-halflings.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/fengxuangit/searchku/HEAD/Public/img/glyphicons-halflings.png
--------------------------------------------------------------------------------
/ThinkPHP/Library/Vendor/Elasticsearch/react/promise/.gitignore:
--------------------------------------------------------------------------------
1 | composer.lock
2 | composer.phar
3 | phpunit.xml
4 | vendor/
5 |
--------------------------------------------------------------------------------
/ThinkPHP/Library/Vendor/spyc/tests/comments.yaml:
--------------------------------------------------------------------------------
1 | foo: 'bar' #Comment
2 | arr: ['x', 'y', 'z'] # Comment here
3 | bar: kittens
--------------------------------------------------------------------------------
/Public/images/glyphicons-halflings.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/fengxuangit/searchku/HEAD/Public/images/glyphicons-halflings.png
--------------------------------------------------------------------------------
/Public/img/glyphicons-halflings-white.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/fengxuangit/searchku/HEAD/Public/img/glyphicons-halflings-white.png
--------------------------------------------------------------------------------
/ThinkPHP/Library/Think/Verify/bgs/1.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/fengxuangit/searchku/HEAD/ThinkPHP/Library/Think/Verify/bgs/1.jpg
--------------------------------------------------------------------------------
/ThinkPHP/Library/Think/Verify/bgs/2.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/fengxuangit/searchku/HEAD/ThinkPHP/Library/Think/Verify/bgs/2.jpg
--------------------------------------------------------------------------------
/ThinkPHP/Library/Think/Verify/bgs/3.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/fengxuangit/searchku/HEAD/ThinkPHP/Library/Think/Verify/bgs/3.jpg
--------------------------------------------------------------------------------
/ThinkPHP/Library/Think/Verify/bgs/4.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/fengxuangit/searchku/HEAD/ThinkPHP/Library/Think/Verify/bgs/4.jpg
--------------------------------------------------------------------------------
/ThinkPHP/Library/Think/Verify/bgs/5.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/fengxuangit/searchku/HEAD/ThinkPHP/Library/Think/Verify/bgs/5.jpg
--------------------------------------------------------------------------------
/ThinkPHP/Library/Think/Verify/bgs/6.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/fengxuangit/searchku/HEAD/ThinkPHP/Library/Think/Verify/bgs/6.jpg
--------------------------------------------------------------------------------
/ThinkPHP/Library/Think/Verify/bgs/7.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/fengxuangit/searchku/HEAD/ThinkPHP/Library/Think/Verify/bgs/7.jpg
--------------------------------------------------------------------------------
/ThinkPHP/Library/Think/Verify/bgs/8.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/fengxuangit/searchku/HEAD/ThinkPHP/Library/Think/Verify/bgs/8.jpg
--------------------------------------------------------------------------------
/ThinkPHP/Library/Think/Verify/ttfs/1.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/fengxuangit/searchku/HEAD/ThinkPHP/Library/Think/Verify/ttfs/1.ttf
--------------------------------------------------------------------------------
/ThinkPHP/Library/Think/Verify/ttfs/2.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/fengxuangit/searchku/HEAD/ThinkPHP/Library/Think/Verify/ttfs/2.ttf
--------------------------------------------------------------------------------
/ThinkPHP/Library/Think/Verify/ttfs/3.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/fengxuangit/searchku/HEAD/ThinkPHP/Library/Think/Verify/ttfs/3.ttf
--------------------------------------------------------------------------------
/ThinkPHP/Library/Think/Verify/ttfs/4.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/fengxuangit/searchku/HEAD/ThinkPHP/Library/Think/Verify/ttfs/4.ttf
--------------------------------------------------------------------------------
/ThinkPHP/Library/Think/Verify/ttfs/5.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/fengxuangit/searchku/HEAD/ThinkPHP/Library/Think/Verify/ttfs/5.ttf
--------------------------------------------------------------------------------
/ThinkPHP/Library/Think/Verify/ttfs/6.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/fengxuangit/searchku/HEAD/ThinkPHP/Library/Think/Verify/ttfs/6.ttf
--------------------------------------------------------------------------------
/ThinkPHP/Library/Vendor/Elasticsearch/guzzlehttp/ringphp/.gitignore:
--------------------------------------------------------------------------------
1 | vendor
2 | build/artifacts/
3 | composer.lock
4 | docs/_build/
5 |
--------------------------------------------------------------------------------
/Public/images/glyphicons-halflings-white.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/fengxuangit/searchku/HEAD/Public/images/glyphicons-halflings-white.png
--------------------------------------------------------------------------------
/Application/Home/View/404.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 | fuckyou
8 |
9 |
--------------------------------------------------------------------------------
/ThinkPHP/Library/Vendor/Elasticsearch/guzzlehttp/streams/.gitignore:
--------------------------------------------------------------------------------
1 | .idea
2 | .DS_STORE
3 | coverage
4 | phpunit.xml
5 | composer.lock
6 | vendor/
7 |
--------------------------------------------------------------------------------
/Public/woff/32nyIRHyCu6iqEka_hbKsnhCUOGz7vYGh680lGh-uXM.woff:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/fengxuangit/searchku/HEAD/Public/woff/32nyIRHyCu6iqEka_hbKsnhCUOGz7vYGh680lGh-uXM.woff
--------------------------------------------------------------------------------
/Public/woff/DXI1ORHCpsQm3Vp6mXoaTXhCUOGz7vYGh680lGh-uXM.woff:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/fengxuangit/searchku/HEAD/Public/woff/DXI1ORHCpsQm3Vp6mXoaTXhCUOGz7vYGh680lGh-uXM.woff
--------------------------------------------------------------------------------
/Public/woff/EInbV5DfGHOiMmvb1Xr-hnhCUOGz7vYGh680lGh-uXM.woff:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/fengxuangit/searchku/HEAD/Public/woff/EInbV5DfGHOiMmvb1Xr-hnhCUOGz7vYGh680lGh-uXM.woff
--------------------------------------------------------------------------------
/Public/woff/MTP_ySUJH_bn48VBG8sNSnhCUOGz7vYGh680lGh-uXM.woff:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/fengxuangit/searchku/HEAD/Public/woff/MTP_ySUJH_bn48VBG8sNSnhCUOGz7vYGh680lGh-uXM.woff
--------------------------------------------------------------------------------
/Public/woff/cJZKeOuBrn4kERxqtaUH3T8E0i7KZn-EPnyo3HZu7kw.woff:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/fengxuangit/searchku/HEAD/Public/woff/cJZKeOuBrn4kERxqtaUH3T8E0i7KZn-EPnyo3HZu7kw.woff
--------------------------------------------------------------------------------
/Public/woff/k3k702ZOKiLJc3WVjuplzHhCUOGz7vYGh680lGh-uXM.woff:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/fengxuangit/searchku/HEAD/Public/woff/k3k702ZOKiLJc3WVjuplzHhCUOGz7vYGh680lGh-uXM.woff
--------------------------------------------------------------------------------
/Public/woff/qhfoJiLu10kFjChCCTvGlHhCUOGz7vYGh680lGh-uXM.woff:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/fengxuangit/searchku/HEAD/Public/woff/qhfoJiLu10kFjChCCTvGlHhCUOGz7vYGh680lGh-uXM.woff
--------------------------------------------------------------------------------
/Public/woff/sKd0EMYPAh5PYCRKSryvWz8E0i7KZn-EPnyo3HZu7kw.woff:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/fengxuangit/searchku/HEAD/Public/woff/sKd0EMYPAh5PYCRKSryvWz8E0i7KZn-EPnyo3HZu7kw.woff
--------------------------------------------------------------------------------
/Public/css/woff/32nyIRHyCu6iqEka_hbKsnhCUOGz7vYGh680lGh-uXM.woff:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/fengxuangit/searchku/HEAD/Public/css/woff/32nyIRHyCu6iqEka_hbKsnhCUOGz7vYGh680lGh-uXM.woff
--------------------------------------------------------------------------------
/Public/css/woff/DXI1ORHCpsQm3Vp6mXoaTXhCUOGz7vYGh680lGh-uXM.woff:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/fengxuangit/searchku/HEAD/Public/css/woff/DXI1ORHCpsQm3Vp6mXoaTXhCUOGz7vYGh680lGh-uXM.woff
--------------------------------------------------------------------------------
/Public/css/woff/EInbV5DfGHOiMmvb1Xr-hnhCUOGz7vYGh680lGh-uXM.woff:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/fengxuangit/searchku/HEAD/Public/css/woff/EInbV5DfGHOiMmvb1Xr-hnhCUOGz7vYGh680lGh-uXM.woff
--------------------------------------------------------------------------------
/Public/css/woff/MTP_ySUJH_bn48VBG8sNSnhCUOGz7vYGh680lGh-uXM.woff:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/fengxuangit/searchku/HEAD/Public/css/woff/MTP_ySUJH_bn48VBG8sNSnhCUOGz7vYGh680lGh-uXM.woff
--------------------------------------------------------------------------------
/Public/css/woff/cJZKeOuBrn4kERxqtaUH3T8E0i7KZn-EPnyo3HZu7kw.woff:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/fengxuangit/searchku/HEAD/Public/css/woff/cJZKeOuBrn4kERxqtaUH3T8E0i7KZn-EPnyo3HZu7kw.woff
--------------------------------------------------------------------------------
/Public/css/woff/k3k702ZOKiLJc3WVjuplzHhCUOGz7vYGh680lGh-uXM.woff:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/fengxuangit/searchku/HEAD/Public/css/woff/k3k702ZOKiLJc3WVjuplzHhCUOGz7vYGh680lGh-uXM.woff
--------------------------------------------------------------------------------
/Public/css/woff/qhfoJiLu10kFjChCCTvGlHhCUOGz7vYGh680lGh-uXM.woff:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/fengxuangit/searchku/HEAD/Public/css/woff/qhfoJiLu10kFjChCCTvGlHhCUOGz7vYGh680lGh-uXM.woff
--------------------------------------------------------------------------------
/Public/css/woff/sKd0EMYPAh5PYCRKSryvWz8E0i7KZn-EPnyo3HZu7kw.woff:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/fengxuangit/searchku/HEAD/Public/css/woff/sKd0EMYPAh5PYCRKSryvWz8E0i7KZn-EPnyo3HZu7kw.woff
--------------------------------------------------------------------------------
/ThinkPHP/Library/Vendor/spyc/tests/quotes.yaml:
--------------------------------------------------------------------------------
1 | html_tags:
2 | -
3 | -
4 | html_content:
5 | -
hello world
6 | - hello
world
7 | text_content:
8 | - hello world
--------------------------------------------------------------------------------
/ThinkPHP/Library/Vendor/Elasticsearch/react/promise/src/functions_include.php:
--------------------------------------------------------------------------------
1 |
2 | Options +FollowSymlinks
3 | RewriteEngine On
4 |
5 | RewriteCond %{REQUEST_FILENAME} !-d
6 | RewriteCond %{REQUEST_FILENAME} !-f
7 | RewriteRule ^(.*)$ index.php/$1 [QSA,PT,L]
8 |
--------------------------------------------------------------------------------
/ThinkPHP/Library/Vendor/Elasticsearch/guzzlehttp/ringphp/src/Exception/CancelledException.php:
--------------------------------------------------------------------------------
1 | '配置值'
4 | 'TMPL_PARSE_STRING' => array(
5 | '__PUBLIC__' => __ROOT__.'/Public/',
6 | ),
7 | 'TMPL_FILE_DEPR' => '_',
8 | 'DEFAULT_GROUP' => 'Home',
9 |
10 | 'URL_MODEL' => 2,
11 | );
--------------------------------------------------------------------------------
/ThinkPHP/Library/Vendor/Elasticsearch/react/promise/src/PromisorInterface.php:
--------------------------------------------------------------------------------
1 | addPsr4('React\\Promise\\', __DIR__);
8 |
--------------------------------------------------------------------------------
/Application/Admin/Conf/config.php:
--------------------------------------------------------------------------------
1 | '配置值'
4 | 'APP_GROUP_LIST' => 'Index,Admin',
5 |
6 | 'DEFAULT_GROUP' => 'Index',
7 |
8 | 'TMPL_PARSE_STRING' => array(
9 | '__PUBLIC__' => __ROOT__ . '/Public/'
10 | ),
11 | 'TMPL_FILE_DEPR' => '_',
12 | );
--------------------------------------------------------------------------------
/ThinkPHP/Library/Vendor/Elasticsearch/react/promise/src/CancellablePromiseInterface.php:
--------------------------------------------------------------------------------
1 | array($vendorDir . '/psr/log'),
10 | );
11 |
--------------------------------------------------------------------------------
/Application/Admin/Controller/CommonController.class.php:
--------------------------------------------------------------------------------
1 | redirect('/Admin/Login/index');
8 | }
9 | }
10 | }
11 |
--------------------------------------------------------------------------------
/ThinkPHP/Library/Vendor/Elasticsearch/react/promise/tests/fixtures/SimpleTestCancellable.php:
--------------------------------------------------------------------------------
1 | cancelCalled = true;
12 | }
13 | }
14 |
--------------------------------------------------------------------------------
/ThinkPHP/Library/Vendor/Elasticsearch/react/promise/.travis.yml:
--------------------------------------------------------------------------------
1 | language: php
2 |
3 | php:
4 | - 5.4
5 | - 5.5
6 | - 5.6
7 | - 7.0
8 | - nightly
9 | - hhvm
10 |
11 | before_install:
12 | - composer self-update
13 |
14 | install:
15 | - composer install
16 |
17 | script:
18 | - phpunit -v --coverage-text
19 |
--------------------------------------------------------------------------------
/Application/Admin/Controller/IndexController.class.php:
--------------------------------------------------------------------------------
1 | assign('username', $username)->display();
9 | }
10 |
11 | }
--------------------------------------------------------------------------------
/ThinkPHP/Library/Vendor/Elasticsearch/guzzlehttp/ringphp/tests/bootstrap.php:
--------------------------------------------------------------------------------
1 | $vendorDir . '/react/promise/src/functions_include.php',
10 | );
11 |
--------------------------------------------------------------------------------
/ThinkPHP/Library/Vendor/Elasticsearch/guzzlehttp/ringphp/src/Future/FutureArrayInterface.php:
--------------------------------------------------------------------------------
1 | check($code, $id);
6 | }
7 |
8 | function getschedule(){
9 | $file = "/tmp/schedule.dat";
10 | $result = file_get_contents($file);
11 | return preg_replace('/\s/', '', substr($result, 5));
12 | }
--------------------------------------------------------------------------------
/script/conf/searchku.conf:
--------------------------------------------------------------------------------
1 | # this file is config dumpfile parameter
2 | # by fengxuan
3 |
4 | #elasticsearch config
5 | [elasticsearch]
6 | ESHOST = 127.0.0.1:9200
7 | ESINDEX = searchku
8 |
9 | #mysql config
10 | [mysql]
11 | HOST = 127.0.0.1
12 | USERNAME = root
13 | PASSWORD = 123480
14 | DBNAME = searchku
15 | DBCHARSET = utf8
--------------------------------------------------------------------------------
/ThinkPHP/Library/Vendor/Elasticsearch/guzzlehttp/streams/.travis.yml:
--------------------------------------------------------------------------------
1 | language: php
2 |
3 | php:
4 | - 5.4
5 | - 5.5
6 | - 5.6
7 | - hhvm
8 |
9 | before_script:
10 | - composer self-update
11 | - composer install --no-interaction --prefer-source --dev
12 |
13 | script: vendor/bin/phpunit
14 |
15 | matrix:
16 | allow_failures:
17 | - php: hhvm
18 |
--------------------------------------------------------------------------------
/ThinkPHP/Library/Vendor/Elasticsearch/elasticsearch/elasticsearch/.gitignore:
--------------------------------------------------------------------------------
1 | #composer related
2 | composer.lock
3 | vendor/
4 | composer.phar
5 | .php_cs.cache
6 |
7 | #editor related
8 | .idea
9 |
10 | # OS generated files
11 | .DS_Store
12 | .DS_Store?
13 | ._*
14 | .Spotlight-V100
15 | .Trashes
16 | Icon?
17 | ehthumbs.db
18 | Thumbs.db
19 |
20 | #generator related
21 | generator/*
22 |
--------------------------------------------------------------------------------
/ThinkPHP/Library/Vendor/Boris/ExportInspector.php:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/ThinkPHP/Library/Vendor/Boris/DumpInspector.php:
--------------------------------------------------------------------------------
1 |
2 |
4 |
5 |
6 | tests
7 |
8 |
9 |
10 |
11 | src
12 |
13 |
14 |
15 |
--------------------------------------------------------------------------------
/ThinkPHP/Library/Vendor/Elasticsearch/psr/log/composer.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "psr/log",
3 | "description": "Common interface for logging libraries",
4 | "keywords": ["psr", "psr-3", "log"],
5 | "license": "MIT",
6 | "authors": [
7 | {
8 | "name": "PHP-FIG",
9 | "homepage": "http://www.php-fig.org/"
10 | }
11 | ],
12 | "autoload": {
13 | "psr-0": {
14 | "Psr\\Log\\": ""
15 | }
16 | }
17 | }
18 |
--------------------------------------------------------------------------------
/ThinkPHP/Library/Vendor/Boris/Inspector.php:
--------------------------------------------------------------------------------
1 | seek($start);
12 | for ($i=0; $i < $count; ++$i) {
13 | $content[] = $fp->current();
14 | $fp->next();
15 | }
16 |
17 | return array_filter($content);
18 | }
19 |
20 | function RunCommand($cmd){
21 | $out = system($cmd, $result);
22 | return $result;
23 | }
--------------------------------------------------------------------------------
/ThinkPHP/Library/Vendor/Elasticsearch/elasticsearch/elasticsearch/.php_cs:
--------------------------------------------------------------------------------
1 | exclude('benchmarks')
6 | ->exclude('docs')
7 | ->exclude('util')
8 | ->in(__DIR__);
9 |
10 | return Symfony\CS\Config\Config::create()
11 | ->setUsingCache(true)
12 | ->level(Symfony\CS\FixerInterface::PSR2_LEVEL)
13 | ->finder($finder);
14 | }
15 |
16 | return php_cs();
17 |
--------------------------------------------------------------------------------
/composer.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "topthink/thinkphp",
3 | "description": "the ThinkPHP Framework",
4 | "type": "framework",
5 | "keywords": ["framework","thinkphp","ORM"],
6 | "homepage": "http://thinkphp.cn/",
7 | "license": "Apache2",
8 | "authors": [
9 | {
10 | "name": "liu21st",
11 | "email": "liu21st@gmail.com"
12 | }
13 | ],
14 | "require": {
15 | "php": ">=5.3.0"
16 | },
17 | "minimum-stability": "dev"
18 | }
19 |
--------------------------------------------------------------------------------
/ThinkPHP/Library/Vendor/Elasticsearch/react/promise/tests/fixtures/SimpleTestCancellableThenable.php:
--------------------------------------------------------------------------------
1 | cancelCalled = true;
17 | }
18 | }
19 |
--------------------------------------------------------------------------------
/ThinkPHP/Library/Vendor/Elasticsearch/psr/log/Psr/Log/LoggerAwareTrait.php:
--------------------------------------------------------------------------------
1 | logger = $logger;
21 | }
22 | }
23 |
--------------------------------------------------------------------------------
/ThinkPHP/Library/Vendor/spyc/examples/yaml-load.php:
--------------------------------------------------------------------------------
1 | spyc.yaml loaded into PHP:
';
15 | print_r($array);
16 | echo '';
17 |
18 |
19 | echo 'YAML Data dumped back:
';
20 | echo Spyc::YAMLDump($array);
21 | echo '
';
22 |
--------------------------------------------------------------------------------
/ThinkPHP/Library/Vendor/Elasticsearch/guzzlehttp/streams/tests/InflateStreamTest.php:
--------------------------------------------------------------------------------
1 | assertEquals('test', (string) $b);
15 | }
16 | }
17 |
--------------------------------------------------------------------------------
/ThinkPHP/Library/Vendor/Elasticsearch/elasticsearch/elasticsearch/src/Elasticsearch/Common/Exceptions/ElasticsearchException.php:
--------------------------------------------------------------------------------
1 |
11 | * @license http://www.apache.org/licenses/LICENSE-2.0 Apache2
12 | * @link http://elasticsearch.org
13 | */
14 | interface ElasticsearchException
15 | {
16 | }
17 |
--------------------------------------------------------------------------------
/Application/Common/Conf/config.php:
--------------------------------------------------------------------------------
1 | '配置值'
4 | 'TMPL_PARSE_STRING' => array(
5 | '__PUBLIC__' => __ROOT__.'/'.APP_NAME.'/blog/Tpl/Index/',
6 | ),
7 | 'URL_ROUTER_ON' => true,
8 | 'TMPL_FILE_DEPR' => '_',
9 | 'DB_TYPE' => 'mysql',
10 | 'DB_HOST' => '127.0.0.1',
11 | 'DB_NAME' => 'searchku',
12 | 'DB_USER' => 'root',
13 | 'DB_PWD' => '123480',
14 | 'DB_CHARSET' => 'utf8',
15 | 'DB_DEBUG' => TRUE,
16 | 'DB_PREFIX' => 'sk_',
17 | 'DEFAULT_FILTER' => 'addslashes',
18 | // 'ERROR_PAGE' => '/Home/404.html',
19 | );
--------------------------------------------------------------------------------
/ThinkPHP/Library/Vendor/Elasticsearch/composer/autoload_psr4.php:
--------------------------------------------------------------------------------
1 | array($vendorDir . '/react/promise/src'),
10 | 'GuzzleHttp\\Stream\\' => array($vendorDir . '/guzzlehttp/streams/src'),
11 | 'GuzzleHttp\\Ring\\' => array($vendorDir . '/guzzlehttp/ringphp/src'),
12 | 'Elasticsearch\\' => array($vendorDir . '/elasticsearch/elasticsearch/src/Elasticsearch'),
13 | );
14 |
--------------------------------------------------------------------------------
/ThinkPHP/Library/Vendor/Elasticsearch/guzzlehttp/streams/tests/Exception/SeekExceptionTest.php:
--------------------------------------------------------------------------------
1 | assertSame($s, $e->getStream());
14 | $this->assertContains('10', $e->getMessage());
15 | }
16 | }
17 |
--------------------------------------------------------------------------------
/ThinkPHP/Library/Vendor/Smarty/plugins/modifiercompiler.noprint.php:
--------------------------------------------------------------------------------
1 |
13 | * Name: noprint
14 | * Purpose: return an empty string
15 | *
16 | * @author Uwe Tews
17 | * @param array $params parameters
18 | * @return string with compiled code
19 | */
20 | function smarty_modifiercompiler_noprint($params, $compiler)
21 | {
22 | return "''";
23 | }
24 |
25 | ?>
--------------------------------------------------------------------------------
/ThinkPHP/Library/Vendor/Elasticsearch/elasticsearch/elasticsearch/src/Elasticsearch/Common/Exceptions/Missing404Exception.php:
--------------------------------------------------------------------------------
1 |
11 | * @license http://www.apache.org/licenses/LICENSE-2.0 Apache2
12 | * @link http://elasticsearch.org
13 | */
14 | class Missing404Exception extends \Exception implements ElasticsearchException
15 | {
16 | }
17 |
--------------------------------------------------------------------------------
/ThinkPHP/Library/Vendor/Elasticsearch/elasticsearch/elasticsearch/src/Elasticsearch/Common/Exceptions/RuntimeException.php:
--------------------------------------------------------------------------------
1 |
11 | * @license http://www.apache.org/licenses/LICENSE-2.0 Apache2
12 | * @link http://elasticsearch.org
13 | */
14 | class RuntimeException extends \RuntimeException implements ElasticsearchException
15 | {
16 | }
17 |
--------------------------------------------------------------------------------
/ThinkPHP/Library/Vendor/Elasticsearch/elasticsearch/elasticsearch/src/Elasticsearch/Common/Exceptions/TransportException.php:
--------------------------------------------------------------------------------
1 |
11 | * @license http://www.apache.org/licenses/LICENSE-2.0 Apache2
12 | * @link http://elasticsearch.org
13 | */
14 | class TransportException extends \Exception implements ElasticsearchException
15 | {
16 | }
17 |
--------------------------------------------------------------------------------
/ThinkPHP/Library/Vendor/Elasticsearch/guzzlehttp/streams/phpunit.xml.dist:
--------------------------------------------------------------------------------
1 |
2 |
4 |
5 |
6 | tests
7 |
8 |
9 |
10 |
11 | src
12 |
13 | src/functions.php
14 |
15 |
16 |
17 |
18 |
--------------------------------------------------------------------------------
/ThinkPHP/Library/Vendor/Elasticsearch/elasticsearch/elasticsearch/src/Elasticsearch/Common/Exceptions/Forbidden403Exception.php:
--------------------------------------------------------------------------------
1 |
11 | * @license http://www.apache.org/licenses/LICENSE-2.0 Apache2
12 | * @link http://elasticsearch.org
13 | */
14 | class Forbidden403Exception extends \Exception implements ElasticsearchException
15 | {
16 | }
17 |
--------------------------------------------------------------------------------
/ThinkPHP/Library/Vendor/Elasticsearch/elasticsearch/elasticsearch/src/Elasticsearch/Common/Exceptions/MaxRetriesException.php:
--------------------------------------------------------------------------------
1 |
11 | * @license http://www.apache.org/licenses/LICENSE-2.0 Apache2
12 | * @link http://elasticsearch.org
13 | */
14 | class MaxRetriesException extends TransportException implements ElasticsearchException
15 | {
16 | }
17 |
--------------------------------------------------------------------------------
/ThinkPHP/Library/Vendor/Smarty/plugins/variablefilter.htmlspecialchars.php:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/ThinkPHP/Library/Vendor/Elasticsearch/elasticsearch/elasticsearch/src/Elasticsearch/Common/Exceptions/NoNodesAvailableException.php:
--------------------------------------------------------------------------------
1 |
11 | * @license http://www.apache.org/licenses/LICENSE-2.0 Apache2
12 | * @link http://elasticsearch.org
13 | */
14 | class NoNodesAvailableException extends \Exception implements ElasticsearchException
15 | {
16 | }
17 |
--------------------------------------------------------------------------------
/ThinkPHP/Library/Vendor/Elasticsearch/guzzlehttp/streams/src/NoSeekStream.php:
--------------------------------------------------------------------------------
1 | stream->attach($stream);
24 | }
25 | }
26 |
--------------------------------------------------------------------------------
/ThinkPHP/Library/Vendor/Elasticsearch/elasticsearch/elasticsearch/src/Elasticsearch/Common/Exceptions/NoDocumentsToGetException.php:
--------------------------------------------------------------------------------
1 |
11 | * @license http://www.apache.org/licenses/LICENSE-2.0 Apache2
12 | * @link http://elasticsearch.org
13 | */
14 | class NoDocumentsToGetException extends ServerErrorResponseException implements ElasticsearchException
15 | {
16 | }
17 |
--------------------------------------------------------------------------------
/ThinkPHP/Library/Vendor/Elasticsearch/elasticsearch/elasticsearch/src/Elasticsearch/Common/Exceptions/NoShardAvailableException.php:
--------------------------------------------------------------------------------
1 |
11 | * @license http://www.apache.org/licenses/LICENSE-2.0 Apache2
12 | * @link http://elasticsearch.org
13 | */
14 | class NoShardAvailableException extends ServerErrorResponseException implements ElasticsearchException
15 | {
16 | }
17 |
--------------------------------------------------------------------------------
/ThinkPHP/Library/Vendor/Elasticsearch/elasticsearch/elasticsearch/src/Elasticsearch/Common/Exceptions/RequestTimeout408Exception.php:
--------------------------------------------------------------------------------
1 |
11 | * @license http://www.apache.org/licenses/LICENSE-2.0 Apache2
12 | * @link http://elasticsearch.org
13 | */
14 | class RequestTimeout408Exception extends BadRequest400Exception implements ElasticsearchException
15 | {
16 | }
17 |
--------------------------------------------------------------------------------
/ThinkPHP/Library/Vendor/Elasticsearch/elasticsearch/elasticsearch/src/Elasticsearch/Common/Exceptions/ServerErrorResponseException.php:
--------------------------------------------------------------------------------
1 |
11 | * @license http://www.apache.org/licenses/LICENSE-2.0 Apache2
12 | * @link http://elasticsearch.org
13 | */
14 | class ServerErrorResponseException extends TransportException implements ElasticsearchException
15 | {
16 | }
17 |
--------------------------------------------------------------------------------
/ThinkPHP/Library/Vendor/Elasticsearch/elasticsearch/elasticsearch/src/Elasticsearch/Common/Exceptions/ClientErrorResponseException.php:
--------------------------------------------------------------------------------
1 |
11 | * @license http://www.apache.org/licenses/LICENSE-2.0 Apache2
12 | * @link http://elasticsearch.org
13 | */
14 | class ClientErrorResponseException extends TransportException implements ElasticsearchException
15 | {
16 | }
17 |
--------------------------------------------------------------------------------
/ThinkPHP/Library/Vendor/Elasticsearch/elasticsearch/elasticsearch/src/Elasticsearch/Common/Exceptions/Conflict409Exception.php:
--------------------------------------------------------------------------------
1 |
11 | * @license http://www.apache.org/licenses/LICENSE-2.0 Apache2
12 | * @link http://elasticsearch.org
13 | */
14 | class Conflict409Exception extends \Exception implements ElasticsearchException
15 | {
16 | }
17 |
--------------------------------------------------------------------------------
/ThinkPHP/Library/Vendor/Elasticsearch/elasticsearch/elasticsearch/src/Elasticsearch/Common/Exceptions/BadRequest400Exception.php:
--------------------------------------------------------------------------------
1 |
11 | * @license http://www.apache.org/licenses/LICENSE-2.0 Apache2
12 | * @link http://elasticsearch.org
13 | */
14 | class BadRequest400Exception extends \Exception implements ElasticsearchException
15 | {
16 | }
17 |
--------------------------------------------------------------------------------
/ThinkPHP/Library/Vendor/Elasticsearch/elasticsearch/elasticsearch/src/Elasticsearch/Common/Exceptions/ScriptLangNotSupportedException.php:
--------------------------------------------------------------------------------
1 |
11 | * @license http://www.apache.org/licenses/LICENSE-2.0 Apache2
12 | * @link http://elasticsearch.org
13 | */
14 | class ScriptLangNotSupportedException extends BadRequest400Exception implements ElasticsearchException
15 | {
16 | }
17 |
--------------------------------------------------------------------------------
/ThinkPHP/Library/Vendor/Elasticsearch/elasticsearch/elasticsearch/src/Elasticsearch/Common/Exceptions/AlreadyExpiredException.php:
--------------------------------------------------------------------------------
1 |
11 | * @license http://www.apache.org/licenses/LICENSE-2.0 Apache2
12 | * @link http://elasticsearch.org
13 | */
14 | class AlreadyExpiredException extends \Exception implements ElasticsearchException
15 | {
16 | }
17 |
--------------------------------------------------------------------------------
/ThinkPHP/Library/Vendor/Elasticsearch/elasticsearch/elasticsearch/.github/PULL_REQUEST_TEMPLATE.md:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/ThinkPHP/Library/Vendor/TemplateLite/internal/template.build_dir.php:
--------------------------------------------------------------------------------
1 | _get_dir($dir);
15 | }
16 | $_result = $object->_get_dir($dir);
17 | foreach($_args as $value)
18 | {
19 | $_result .= $value.DIRECTORY_SEPARATOR;
20 | if (!is_dir($_result))
21 | {
22 | @mkdir($_result, 0777);
23 | }
24 | }
25 | return $_result;
26 | }
27 |
28 | ?>
--------------------------------------------------------------------------------
/ThinkPHP/Library/Vendor/Elasticsearch/elasticsearch/elasticsearch/src/Elasticsearch/Common/Exceptions/InvalidArgumentException.php:
--------------------------------------------------------------------------------
1 |
13 | * @license http://www.apache.org/licenses/LICENSE-2.0 Apache2
14 | * @link http://elasticsearch.org
15 | */
16 | class InvalidArgumentException extends \InvalidArgumentException implements ElasticsearchException
17 | {
18 | }
19 |
--------------------------------------------------------------------------------
/ThinkPHP/Library/Vendor/Elasticsearch/elasticsearch/elasticsearch/src/Elasticsearch/Common/Exceptions/RoutingMissingException.php:
--------------------------------------------------------------------------------
1 |
12 | * @license http://www.apache.org/licenses/LICENSE-2.0 Apache2
13 | * @link http://elasticsearch.org
14 | */
15 | class RoutingMissingException extends ServerErrorResponseException implements ElasticsearchException
16 | {
17 | }
18 |
--------------------------------------------------------------------------------
/ThinkPHP/Library/Vendor/Elasticsearch/elasticsearch/elasticsearch/src/Elasticsearch/Common/Exceptions/UnexpectedValueException.php:
--------------------------------------------------------------------------------
1 |
13 | * @license http://www.apache.org/licenses/LICENSE-2.0 Apache2
14 | * @link http://elasticsearch.org
15 | */
16 | class UnexpectedValueException extends \UnexpectedValueException implements ElasticsearchException
17 | {
18 | }
19 |
--------------------------------------------------------------------------------
/ThinkPHP/Library/Vendor/Elasticsearch/elasticsearch/elasticsearch/src/Elasticsearch/Common/Exceptions/BadMethodCallException.php:
--------------------------------------------------------------------------------
1 |
13 | * @license http://www.apache.org/licenses/LICENSE-2.0 Apache2
14 | * @link http://elasticsearch.org
15 | */
16 | class BadMethodCallException extends \BadMethodCallException implements ElasticsearchException
17 | {
18 | }
19 |
--------------------------------------------------------------------------------
/Application/Admin/View/header.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | Dashboard - Akira
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
--------------------------------------------------------------------------------
/ThinkPHP/Library/Vendor/Elasticsearch/react/promise/tests/fixtures/SimpleFulfilledTestThenable.php:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/ThinkPHP/Library/Vendor/Elasticsearch/react/promise/tests/fixtures/SimpleFulfilledTestPromise.php:
--------------------------------------------------------------------------------
1 | =5.3.1"
18 | },
19 | "autoload": {
20 | "files": [ "Spyc.php" ]
21 | },
22 | "extra": {
23 | "branch-alias": {
24 | "dev-master": "0.5.x-dev"
25 | }
26 | }
27 | }
28 |
--------------------------------------------------------------------------------
/Public/css/style1.css:
--------------------------------------------------------------------------------
1 | @font-face {
2 | font-family: 'Quicksand';
3 | font-style: normal;
4 | font-weight: 300;
5 | src: local('Quicksand Light'), local('Quicksand-Light'), url(./woff/qhfoJiLu10kFjChCCTvGlHhCUOGz7vYGh680lGh-uXM.woff) format('woff');
6 | }
7 | @font-face {
8 | font-family: 'Quicksand';
9 | font-style: normal;
10 | font-weight: 400;
11 | src: local('Quicksand Regular'), local('Quicksand-Regular'), url(./woff/sKd0EMYPAh5PYCRKSryvWz8E0i7KZn-EPnyo3HZu7kw.woff) format('woff');
12 | }
13 | @font-face {
14 | font-family: 'Quicksand';
15 | font-style: normal;
16 | font-weight: 700;
17 | src: local('Quicksand Bold'), local('Quicksand-Bold'), url(./woff/32nyIRHyCu6iqEka_hbKsnhCUOGz7vYGh680lGh-uXM.woff) format('woff');
18 | }
19 |
--------------------------------------------------------------------------------
/ThinkPHP/Library/Vendor/Elasticsearch/elasticsearch/elasticsearch/phpunit.xml:
--------------------------------------------------------------------------------
1 |
10 |
11 |
12 |
13 |
14 |
15 | tests
16 |
17 |
18 |
19 |
20 | src
21 |
22 |
23 |
24 |
--------------------------------------------------------------------------------
/ThinkPHP/Library/Vendor/Elasticsearch/elasticsearch/elasticsearch/src/Elasticsearch/Common/Exceptions/Curl/CouldNotConnectToHost.php:
--------------------------------------------------------------------------------
1 |
14 | * @license http://www.apache.org/licenses/LICENSE-2.0 Apache2
15 | * @link http://elasticsearch.org
16 | */
17 | class CouldNotConnectToHost extends TransportException implements ElasticsearchException
18 | {
19 | }
20 |
--------------------------------------------------------------------------------
/ThinkPHP/Library/Vendor/Elasticsearch/elasticsearch/elasticsearch/tests/bootstrap.php:
--------------------------------------------------------------------------------
1 | display();
8 | }
9 |
10 | public function search(){
11 | $es = new \Org\Util\Elasticsearch();
12 | $search = array(
13 | 'field' => I('post.type'),
14 | 'string' => I('post.keyword'),
15 | );
16 | $result = $es->search($search)['hits']['hits'];
17 | $data = [];
18 | for ($i=0;$iassign('result', $data);
22 | $this->display();
23 | }
24 |
25 | }
--------------------------------------------------------------------------------
/ThinkPHP/Library/Vendor/Elasticsearch/elasticsearch/elasticsearch/src/Elasticsearch/Common/Exceptions/Curl/OperationTimeoutException.php:
--------------------------------------------------------------------------------
1 |
14 | * @license http://www.apache.org/licenses/LICENSE-2.0 Apache2
15 | * @link http://elasticsearch.org
16 | */
17 | class OperationTimeoutException extends TransportException implements ElasticsearchException
18 | {
19 | }
20 |
--------------------------------------------------------------------------------
/ThinkPHP/Library/Vendor/Smarty/plugins/modifiercompiler.string_format.php:
--------------------------------------------------------------------------------
1 |
13 | * Name: string_format
14 | * Purpose: format strings via sprintf
15 | *
16 | * @link http://www.smarty.net/manual/en/language.modifier.string.format.php string_format (Smarty online manual)
17 | * @author Uwe Tews
18 | * @param array $params parameters
19 | * @return string with compiled code
20 | */
21 | function smarty_modifiercompiler_string_format($params, $compiler)
22 | {
23 | return 'sprintf(' . $params[1] . ',' . $params[0] . ')';
24 | }
25 |
26 | ?>
--------------------------------------------------------------------------------
/ThinkPHP/Library/Vendor/Elasticsearch/guzzlehttp/streams/src/Exception/SeekException.php:
--------------------------------------------------------------------------------
1 | stream = $stream;
16 | $msg = $msg ?: 'Could not seek the stream to position ' . $pos;
17 | parent::__construct($msg);
18 | }
19 |
20 | /**
21 | * @return StreamInterface
22 | */
23 | public function getStream()
24 | {
25 | return $this->stream;
26 | }
27 | }
28 |
--------------------------------------------------------------------------------
/ThinkPHP/Library/Think/Exception.class.php:
--------------------------------------------------------------------------------
1 |
10 | // +----------------------------------------------------------------------
11 | namespace Think;
12 | /**
13 | * ThinkPHP系统异常基类
14 | */
15 | class Exception extends \Exception {
16 | }
--------------------------------------------------------------------------------
/ThinkPHP/Library/Vendor/Elasticsearch/elasticsearch/elasticsearch/src/Elasticsearch/Common/Exceptions/Curl/CouldNotResolveHostException.php:
--------------------------------------------------------------------------------
1 |
14 | * @license http://www.apache.org/licenses/LICENSE-2.0 Apache2
15 | * @link http://elasticsearch.org
16 | */
17 | class CouldNotResolveHostException extends TransportException implements ElasticsearchException
18 | {
19 | }
20 |
--------------------------------------------------------------------------------
/ThinkPHP/Library/Vendor/Elasticsearch/guzzlehttp/ringphp/docs/conf.py:
--------------------------------------------------------------------------------
1 | import sys, os
2 | import sphinx_rtd_theme
3 | from sphinx.highlighting import lexers
4 | from pygments.lexers.web import PhpLexer
5 |
6 |
7 | lexers['php'] = PhpLexer(startinline=True, linenos=1)
8 | lexers['php-annotations'] = PhpLexer(startinline=True, linenos=1)
9 | primary_domain = 'php'
10 |
11 | extensions = []
12 | templates_path = ['_templates']
13 | source_suffix = '.rst'
14 | master_doc = 'index'
15 | project = u'RingPHP'
16 | copyright = u'2014, Michael Dowling'
17 | version = '1.0.0-alpha'
18 | exclude_patterns = ['_build']
19 |
20 | html_title = "RingPHP"
21 | html_short_title = "RingPHP"
22 | html_theme = "sphinx_rtd_theme"
23 | html_theme_path = [sphinx_rtd_theme.get_html_theme_path()]
24 |
--------------------------------------------------------------------------------
/ThinkPHP/Library/Vendor/Elasticsearch/react/promise/src/ExtendedPromiseInterface.php:
--------------------------------------------------------------------------------
1 |
5 |
6 |
7 | ### Code snippet of problem
8 |
9 |
19 |
20 | ### System details
21 |
22 |
27 |
28 | - Operating System
29 | - PHP Version
30 | - ES-PHP client version
31 | - Elasticsearch version
--------------------------------------------------------------------------------
/ThinkPHP/Library/Vendor/Elasticsearch/react/promise/composer.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "react/promise",
3 | "description": "A lightweight implementation of CommonJS Promises/A for PHP",
4 | "license": "MIT",
5 | "authors": [
6 | {"name": "Jan Sorgalla", "email": "jsorgalla@gmail.com"}
7 | ],
8 | "require": {
9 | "php": ">=5.4.0"
10 | },
11 | "autoload": {
12 | "psr-4": {
13 | "React\\Promise\\": "src/"
14 | },
15 | "files": ["src/functions_include.php"]
16 | },
17 | "autoload-dev": {
18 | "psr-4": {
19 | "React\\Promise\\": "tests/fixtures"
20 | }
21 | },
22 | "extra": {
23 | "branch-alias": {
24 | "dev-master": "2.0-dev"
25 | }
26 | }
27 | }
28 |
--------------------------------------------------------------------------------
/Application/Runtime/Logs/Common/15_11_20.log:
--------------------------------------------------------------------------------
1 | [ 2015-11-20T10:40:13+08:00 ] 127.0.0.1 /searchku/Public/css/__PUBLIC__/images/bg1.png
2 | INFO: [ app_init ] --START--
3 | INFO: Run Behavior\BuildLiteBehavior [ RunTime:0.000047s ]
4 | INFO: [ app_init ] --END-- [ RunTime:0.000369s ]
5 | ERR: 无法加载模块:Public
6 |
7 | [ 2015-11-20T10:40:13+08:00 ] 127.0.0.1 /searchku/Public/css/__PUBLIC__/images/ioc.png
8 | INFO: [ app_init ] --START--
9 | INFO: Run Behavior\BuildLiteBehavior [ RunTime:0.000055s ]
10 | INFO: [ app_init ] --END-- [ RunTime:0.000320s ]
11 | ERR: 无法加载模块:Public
12 |
13 | [ 2015-11-20T10:40:41+08:00 ] 127.0.0.1 //searchku//manage
14 | INFO: [ app_init ] --START--
15 | INFO: Run Behavior\BuildLiteBehavior [ RunTime:0.000053s ]
16 | INFO: [ app_init ] --END-- [ RunTime:0.000314s ]
17 | ERR: 无法加载模块:Manage
18 |
19 |
--------------------------------------------------------------------------------
/ThinkPHP/Library/Vendor/Elasticsearch/elasticsearch/elasticsearch/docs/overview.asciidoc:
--------------------------------------------------------------------------------
1 | == Overview
2 |
3 | This is the official PHP client for Elasticsearch. It is designed to be a very low-level client that does not stray from the REST API.
4 |
5 | All methods closely match the REST API, and furthermore, match the method structure of other language clients (ruby, python, etc). We hope that this consistency makes it easy to get started with a client, and to seamlessly switch from one language to the next with minimal effort.
6 |
7 | The client is designed to be "unopinionated". There are a few universal niceties added to the client (cluster state sniffing, round-robin requests, etc) but largely it is very barebones. This was intentional. We want a common base that more sophisticated libraries can build on top of.
8 |
9 |
--------------------------------------------------------------------------------
/ThinkPHP/Library/Vendor/Elasticsearch/psr/log/Psr/Log/NullLogger.php:
--------------------------------------------------------------------------------
1 | logger) { }`
11 | * blocks.
12 | */
13 | class NullLogger extends AbstractLogger
14 | {
15 | /**
16 | * Logs with an arbitrary level.
17 | *
18 | * @param mixed $level
19 | * @param string $message
20 | * @param array $context
21 | * @return null
22 | */
23 | public function log($level, $message, array $context = array())
24 | {
25 | // noop
26 | }
27 | }
28 |
--------------------------------------------------------------------------------
/ThinkPHP/Library/Vendor/Smarty/plugins/modifiercompiler.cat.php:
--------------------------------------------------------------------------------
1 |
13 | * Name: cat
14 | * Date: Feb 24, 2003
15 | * Purpose: catenate a value to a variable
16 | * Input: string to catenate
17 | * Example: {$var|cat:"foo"}
18 | *
19 | * @link http://smarty.php.net/manual/en/language.modifier.cat.php cat
20 | * (Smarty online manual)
21 | * @author Uwe Tews
22 | * @param array $params parameters
23 | * @return string with compiled code
24 | */
25 | function smarty_modifiercompiler_cat($params, $compiler)
26 | {
27 | return '('.implode(').(', $params).')';
28 | }
29 |
30 | ?>
--------------------------------------------------------------------------------
/ThinkPHP/Library/Vendor/spyc/php4/5to4.php:
--------------------------------------------------------------------------------
1 | ', $code);
13 | $f = fopen ($dest, 'w');
14 | fwrite($f, $code);
15 | fclose ($f);
16 | print "Written to $dest.\n";
17 | }
--------------------------------------------------------------------------------
/ThinkPHP/Library/Vendor/Elasticsearch/react/promise/src/UnhandledRejectionException.php:
--------------------------------------------------------------------------------
1 | reason = $reason;
21 |
22 | $message = sprintf('Unhandled Rejection: %s', json_encode($reason));
23 |
24 | parent::__construct($message, 0);
25 | }
26 |
27 | public function getReason()
28 | {
29 | return $this->reason;
30 | }
31 | }
32 |
--------------------------------------------------------------------------------
/ThinkPHP/Library/Vendor/Elasticsearch/react/promise/phpunit.xml.dist:
--------------------------------------------------------------------------------
1 |
2 |
3 |
14 |
15 |
16 | ./tests/
17 |
18 |
19 |
20 |
21 |
22 | ./src/
23 |
24 |
25 |
26 |
--------------------------------------------------------------------------------
/ThinkPHP/Library/Vendor/phpRPC/pecl/xxtea/README:
--------------------------------------------------------------------------------
1 | XXTEA PHP extension
2 |
3 | What is it?
4 | -----------------------------------------------
5 | This extension based on xxtea library, which provides a set of functions
6 | for encrypt or decrypt data with XXTEA algorithm.
7 |
8 |
9 |
10 | How to install it?
11 | -----------------------------------------------
12 | See INSTALL for installation instructions.
13 |
14 |
15 |
16 | How to use it?
17 | -----------------------------------------------
18 | string xxtea_encrypt(string data, string key)
19 |
20 | Encrypt data using XXTEA algorithm. The key is a 16 bytes(128 bits) string.
21 |
22 | string xxtea_decrypt(string data, string key)
23 |
24 | Decrypt data using XXTEA algorithm. The key is a 16 bytes(128 bits) string.
25 |
26 | string xxtea_info()
27 |
28 | Get the version information.
--------------------------------------------------------------------------------
/ThinkPHP/Library/Vendor/Elasticsearch/elasticsearch/elasticsearch/src/Elasticsearch/ConnectionPool/ConnectionPoolInterface.php:
--------------------------------------------------------------------------------
1 |
13 | * @license http://www.apache.org/licenses/LICENSE-2.0 Apache2
14 | * @link http://elasticsearch.org
15 | */
16 | interface ConnectionPoolInterface
17 | {
18 | /**
19 | * @param bool $force
20 | *
21 | * @return ConnectionInterface
22 | */
23 | public function nextConnection($force = false);
24 |
25 | /**
26 | * @return void
27 | */
28 | public function scheduleCheck();
29 | }
30 |
--------------------------------------------------------------------------------
/ThinkPHP/Library/Vendor/Elasticsearch/guzzlehttp/streams/composer.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "guzzlehttp/streams",
3 | "description": "Provides a simple abstraction over streams of data",
4 | "homepage": "http://guzzlephp.org/",
5 | "keywords": ["stream", "guzzle"],
6 | "license": "MIT",
7 | "authors": [
8 | {
9 | "name": "Michael Dowling",
10 | "email": "mtdowling@gmail.com",
11 | "homepage": "https://github.com/mtdowling"
12 | }
13 | ],
14 | "require": {
15 | "php": ">=5.4.0"
16 | },
17 | "require-dev": {
18 | "phpunit/phpunit": "~4.0"
19 | },
20 | "autoload": {
21 | "psr-4": { "GuzzleHttp\\Stream\\": "src/" }
22 | },
23 | "extra": {
24 | "branch-alias": {
25 | "dev-master": "3.0-dev"
26 | }
27 | }
28 | }
29 |
--------------------------------------------------------------------------------
/ThinkPHP/Library/Vendor/Smarty/plugins/modifiercompiler.count_paragraphs.php:
--------------------------------------------------------------------------------
1 |
13 | * Name: count_paragraphs
14 | * Purpose: count the number of paragraphs in a text
15 | *
16 | * @link http://www.smarty.net/manual/en/language.modifier.count.paragraphs.php
17 | * count_paragraphs (Smarty online manual)
18 | * @author Uwe Tews
19 | * @param array $params parameters
20 | * @return string with compiled code
21 | */
22 | function smarty_modifiercompiler_count_paragraphs($params, $compiler)
23 | {
24 | // count \r or \n characters
25 | return '(preg_match_all(\'#[\r\n]+#\', ' . $params[0] . ', $tmp)+1)';
26 | }
27 |
28 | ?>
--------------------------------------------------------------------------------
/ThinkPHP/Library/Vendor/Elasticsearch/elasticsearch/elasticsearch/docs/index.asciidoc:
--------------------------------------------------------------------------------
1 |
2 | = Elasticsearch-PHP
3 |
4 | include::overview.asciidoc[]
5 |
6 | include::quickstart.asciidoc[]
7 |
8 | include::installation.asciidoc[]
9 |
10 | include::configuration.asciidoc[]
11 |
12 | include::per-request-configuration.asciidoc[]
13 |
14 | include::futures.asciidoc[]
15 |
16 | include::php_json_objects.asciidoc[]
17 |
18 | include::index-operations.asciidoc[]
19 |
20 | include::crud.asciidoc[]
21 |
22 | include::search-operations.asciidoc[]
23 |
24 | include::namespaces.asciidoc[]
25 |
26 | include::security.asciidoc[]
27 |
28 | include::connection-pool.asciidoc[]
29 |
30 | include::selectors.asciidoc[]
31 |
32 | include::serializers.asciidoc[]
33 |
34 | include::php-version-requirement.asciidoc[]
35 |
36 | include::breaking-changes.asciidoc[]
37 |
38 | include::community.asciidoc[]
--------------------------------------------------------------------------------
/ThinkPHP/Library/Vendor/Elasticsearch/guzzlehttp/ringphp/tests/Future/CompletedFutureArrayTest.php:
--------------------------------------------------------------------------------
1 | 'bar']);
11 | $this->assertEquals('bar', $f['foo']);
12 | $this->assertFalse(isset($f['baz']));
13 | $f['abc'] = '123';
14 | $this->assertTrue(isset($f['abc']));
15 | $this->assertEquals(['foo' => 'bar', 'abc' => '123'], iterator_to_array($f));
16 | $this->assertEquals(2, count($f));
17 | unset($f['abc']);
18 | $this->assertEquals(1, count($f));
19 | $this->assertEquals(['foo' => 'bar'], iterator_to_array($f));
20 | }
21 | }
22 |
--------------------------------------------------------------------------------
/ThinkPHP/Library/Vendor/Smarty/plugins/modifier.spacify.php:
--------------------------------------------------------------------------------
1 |
12 | * Name: spacify
13 | * Purpose: add spaces between characters in a string
14 | *
15 | * @link http://smarty.php.net/manual/en/language.modifier.spacify.php spacify (Smarty online manual)
16 | * @author Monte Ohrt
17 | * @param string $string input string
18 | * @param string $spacify_char string to insert between characters.
19 | * @return string
20 | */
21 | function smarty_modifier_spacify($string, $spacify_char = ' ')
22 | {
23 | // well… what about charsets besides latin and UTF-8?
24 | return implode($spacify_char, preg_split('//u', $string, -1, PREG_SPLIT_NO_EMPTY));
25 | }
26 |
27 | ?>
--------------------------------------------------------------------------------
/ThinkPHP/Library/Vendor/Smarty/plugins/modifiercompiler.indent.php:
--------------------------------------------------------------------------------
1 |
12 | * Name: indent
13 | * Purpose: indent lines of text
14 | *
15 | * @link http://www.smarty.net/manual/en/language.modifier.indent.php indent (Smarty online manual)
16 | * @author Uwe Tews
17 | * @param array $params parameters
18 | * @return string with compiled code
19 | */
20 |
21 | function smarty_modifiercompiler_indent($params, $compiler)
22 | {
23 | if (!isset($params[1])) {
24 | $params[1] = 4;
25 | }
26 | if (!isset($params[2])) {
27 | $params[2] = "' '";
28 | }
29 | return 'preg_replace(\'!^!m\',str_repeat(' . $params[2] . ',' . $params[1] . '),' . $params[0] . ')';
30 | }
31 |
32 | ?>
--------------------------------------------------------------------------------
/ThinkPHP/Library/Vendor/Elasticsearch/elasticsearch/elasticsearch/src/Elasticsearch/Endpoints/BulkEndpointInterface.php:
--------------------------------------------------------------------------------
1 |
14 | * @license http://www.apache.org/licenses/LICENSE-2.0 Apache2
15 | * @link http://elasticsearch.org
16 | */
17 | interface BulkEndpointInterface
18 | {
19 | /**
20 | * Constructor
21 | *
22 | * @param Transport $transport Transport instance
23 | * @param SerializerInterface $serializer A serializer
24 | */
25 | public function __construct(Transport $transport, SerializerInterface $serializer);
26 | }
27 |
--------------------------------------------------------------------------------
/ThinkPHP/Library/Vendor/Smarty/plugins/modifiercompiler.count_sentences.php:
--------------------------------------------------------------------------------
1 |
13 | * Name: count_sentences
14 | * Purpose: count the number of sentences in a text
15 | *
16 | * @link http://www.smarty.net/manual/en/language.modifier.count.paragraphs.php
17 | * count_sentences (Smarty online manual)
18 | * @author Uwe Tews
19 | * @param array $params parameters
20 | * @return string with compiled code
21 | */
22 | function smarty_modifiercompiler_count_sentences($params, $compiler)
23 | {
24 | // find periods, question marks, exclamation marks with a word before but not after.
25 | return 'preg_match_all("#\w[\.\?\!](\W|$)#uS", ' . $params[0] . ', $tmp)';
26 | }
27 |
28 | ?>
--------------------------------------------------------------------------------
/ThinkPHP/Library/Vendor/Elasticsearch/elasticsearch/elasticsearch/src/Elasticsearch/ConnectionPool/Selectors/SelectorInterface.php:
--------------------------------------------------------------------------------
1 |
11 | * @license http://www.apache.org/licenses/LICENSE-2.0 Apache2
12 | * @link http://elasticsearch.org
13 | */
14 | interface SelectorInterface
15 | {
16 | /**
17 | * Perform logic to select a single ConnectionInterface instance from the array provided
18 | *
19 | * @param ConnectionInterface[] $connections an array of ConnectionInterface instances to choose from
20 | *
21 | * @return \Elasticsearch\Connections\ConnectionInterface
22 | */
23 | public function select($connections);
24 | }
25 |
--------------------------------------------------------------------------------
/ThinkPHP/Library/Vendor/Smarty/plugins/modifiercompiler.strip_tags.php:
--------------------------------------------------------------------------------
1 |
13 | * Name: strip_tags
14 | * Purpose: strip html tags from text
15 | *
16 | * @link http://www.smarty.net/manual/en/language.modifier.strip.tags.php strip_tags (Smarty online manual)
17 | * @author Uwe Tews
18 | * @param array $params parameters
19 | * @return string with compiled code
20 | */
21 | function smarty_modifiercompiler_strip_tags($params, $compiler)
22 | {
23 | if (!isset($params[1])) {
24 | $params[1] = true;
25 | }
26 | if ($params[1] === true) {
27 | return "preg_replace('!<[^>]*?>!', ' ', {$params[0]})";
28 | } else {
29 | return 'strip_tags(' . $params[0] . ')';
30 | }
31 | }
32 |
33 | ?>
--------------------------------------------------------------------------------
/ThinkPHP/Library/Vendor/Smarty/plugins/modifiercompiler.upper.php:
--------------------------------------------------------------------------------
1 |
13 | * Name: lower
14 | * Purpose: convert string to uppercase
15 | *
16 | * @link http://smarty.php.net/manual/en/language.modifier.upper.php lower (Smarty online manual)
17 | * @author Uwe Tews
18 | * @param array $params parameters
19 | * @return string with compiled code
20 | */
21 | function smarty_modifiercompiler_upper($params, $compiler)
22 | {
23 | if (SMARTY_MBSTRING /* ^phpunit */&&empty($_SERVER['SMARTY_PHPUNIT_DISABLE_MBSTRING'])/* phpunit$ */) {
24 | return 'mb_strtoupper(' . $params[0] . ',SMARTY_RESOURCE_CHAR_SET)' ;
25 | }
26 | // no MBString fallback
27 | return 'strtoupper(' . $params[0] . ')';
28 | }
29 |
30 | ?>
--------------------------------------------------------------------------------
/ThinkPHP/Library/Vendor/Elasticsearch/elasticsearch/elasticsearch/src/Elasticsearch/Endpoints/Indices/Template/AbstractTemplateEndpoint.php:
--------------------------------------------------------------------------------
1 |
13 | * @license http://www.apache.org/licenses/LICENSE-2.0 Apache2
14 | * @link http://elasticsearch.org
15 | */
16 | abstract class AbstractTemplateEndpoint extends AbstractEndpoint
17 | {
18 | /** @var string */
19 | protected $name;
20 |
21 | /**
22 | * @param $name
23 | *
24 | * @return $this
25 | */
26 | public function setName($name)
27 | {
28 | $this->name = $name;
29 |
30 | return $this;
31 | }
32 | }
33 |
--------------------------------------------------------------------------------
/ThinkPHP/Library/Think/Behavior.class.php:
--------------------------------------------------------------------------------
1 |
10 | // +----------------------------------------------------------------------
11 | namespace Think;
12 | /**
13 | * ThinkPHP Behavior基础类
14 | */
15 | abstract class Behavior {
16 | /**
17 | * 执行行为 run方法是Behavior唯一的接口
18 | * @access public
19 | * @param mixed $params 行为参数
20 | * @return void
21 | */
22 | abstract public function run(&$params);
23 |
24 | }
--------------------------------------------------------------------------------
/ThinkPHP/Library/Vendor/Elasticsearch/elasticsearch/elasticsearch/src/Elasticsearch/Endpoints/Info.php:
--------------------------------------------------------------------------------
1 |
11 | * @license http://www.apache.org/licenses/LICENSE-2.0 Apache2
12 | * @link http://elasticsearch.org
13 | */
14 | class Info extends AbstractEndpoint
15 | {
16 | /**
17 | * @return string
18 | */
19 | protected function getURI()
20 | {
21 | $uri = "/";
22 |
23 | return $uri;
24 | }
25 |
26 | /**
27 | * @return string[]
28 | */
29 | protected function getParamWhitelist()
30 | {
31 | return array(
32 | );
33 | }
34 |
35 | /**
36 | * @return string
37 | */
38 | protected function getMethod()
39 | {
40 | return 'GET';
41 | }
42 | }
43 |
--------------------------------------------------------------------------------
/ThinkPHP/Library/Vendor/Elasticsearch/elasticsearch/elasticsearch/src/Elasticsearch/Endpoints/Ping.php:
--------------------------------------------------------------------------------
1 |
11 | * @license http://www.apache.org/licenses/LICENSE-2.0 Apache2
12 | * @link http://elasticsearch.org
13 | */
14 | class Ping extends AbstractEndpoint
15 | {
16 | /**
17 | * @return string
18 | */
19 | protected function getURI()
20 | {
21 | $uri = "/";
22 |
23 | return $uri;
24 | }
25 |
26 | /**
27 | * @return string[]
28 | */
29 | protected function getParamWhitelist()
30 | {
31 | return array(
32 | );
33 | }
34 |
35 | /**
36 | * @return string
37 | */
38 | protected function getMethod()
39 | {
40 | return 'HEAD';
41 | }
42 | }
43 |
--------------------------------------------------------------------------------
/ThinkPHP/Library/Vendor/Smarty/plugins/modifiercompiler.lower.php:
--------------------------------------------------------------------------------
1 |
12 | * Name: lower
13 | * Purpose: convert string to lowercase
14 | *
15 | * @link http://www.smarty.net/manual/en/language.modifier.lower.php lower (Smarty online manual)
16 | * @author Monte Ohrt
17 | * @author Uwe Tews
18 | * @param array $params parameters
19 | * @return string with compiled code
20 | */
21 |
22 | function smarty_modifiercompiler_lower($params, $compiler)
23 | {
24 | if (SMARTY_MBSTRING /* ^phpunit */&&empty($_SERVER['SMARTY_PHPUNIT_DISABLE_MBSTRING'])/* phpunit$ */) {
25 | return 'mb_strtolower(' . $params[0] . ',SMARTY_RESOURCE_CHAR_SET)' ;
26 | }
27 | // no MBString fallback
28 | return 'strtolower(' . $params[0] . ')';
29 | }
30 |
31 | ?>
--------------------------------------------------------------------------------
/ThinkPHP/Library/Vendor/Smarty/plugins/modifiercompiler.strip.php:
--------------------------------------------------------------------------------
1 |
13 | * Name: strip
14 | * Purpose: Replace all repeated spaces, newlines, tabs
15 | * with a single space or supplied replacement string.
16 | * Example: {$var|strip} {$var|strip:" "}
17 | * Date: September 25th, 2002
18 | *
19 | * @link http://www.smarty.net/manual/en/language.modifier.strip.php strip (Smarty online manual)
20 | * @author Uwe Tews
21 | * @param array $params parameters
22 | * @return string with compiled code
23 | */
24 |
25 | function smarty_modifiercompiler_strip($params, $compiler)
26 | {
27 | if (!isset($params[1])) {
28 | $params[1] = "' '";
29 | }
30 | return "preg_replace('!\s+!u', {$params[1]},{$params[0]})";
31 | }
32 |
33 | ?>
--------------------------------------------------------------------------------
/index.php:
--------------------------------------------------------------------------------
1 |
10 | // +----------------------------------------------------------------------
11 |
12 | // 应用入口文件
13 |
14 | // 检测PHP环境
15 | if(version_compare(PHP_VERSION,'5.3.0','<')) die('require PHP > 5.3.0 !');
16 |
17 | // 开启调试模式 建议开发阶段开启 部署阶段注释或者设为false
18 | define('APP_DEBUG',True);
19 |
20 | // 定义应用目录
21 | define('APP_PATH','./Application/');
22 |
23 | // 引入ThinkPHP入口文件
24 | require './ThinkPHP/ThinkPHP.php';
25 |
26 | // 亲^_^ 后面不需要任何代码了 就是如此简单
--------------------------------------------------------------------------------
/ThinkPHP/Library/Vendor/Smarty/plugins/modifiercompiler.default.php:
--------------------------------------------------------------------------------
1 |
13 | * Name: default
14 | * Purpose: designate default value for empty variables
15 | *
16 | * @link http://www.smarty.net/manual/en/language.modifier.default.php default (Smarty online manual)
17 | * @author Uwe Tews
18 | * @param array $params parameters
19 | * @return string with compiled code
20 | */
21 | function smarty_modifiercompiler_default ($params, $compiler)
22 | {
23 | $output = $params[0];
24 | if (!isset($params[1])) {
25 | $params[1] = "''";
26 | }
27 |
28 | array_shift($params);
29 | foreach ($params as $param) {
30 | $output = '(($tmp = @' . $output . ')===null||$tmp===\'\' ? ' . $param . ' : $tmp)';
31 | }
32 | return $output;
33 | }
34 |
35 | ?>
--------------------------------------------------------------------------------
/ThinkPHP/Library/Vendor/Elasticsearch/elasticsearch/elasticsearch/tests/Elasticsearch/Tests/ConnectionPool/SniffingConnectionPoolIntegrationTest.php:
--------------------------------------------------------------------------------
1 |
11 | * @license http://www.apache.org/licenses/LICENSE-2.0 Apache2
12 | * @link http://elasticsearch.org
13 | */
14 | class SniffingConnectionPoolIntegrationTest extends \PHPUnit_Framework_TestCase
15 | {
16 | public function testSniff()
17 | {
18 | $client = ClientBuilder::create()
19 | ->setHosts([$_SERVER['ES_TEST_HOST']])
20 | ->setConnectionPool('\Elasticsearch\ConnectionPool\SniffingConnectionPool', ['sniffingInterval' => -10])
21 | ->build();
22 |
23 | $client->ping();
24 | }
25 | }
26 |
--------------------------------------------------------------------------------
/ThinkPHP/Library/Vendor/Elasticsearch/elasticsearch/elasticsearch/docs/breaking-changes.asciidoc:
--------------------------------------------------------------------------------
1 |
2 | == Breaking changes from 1.x
3 |
4 | - The client now requires PHP version 5.4 or higher
5 | - The entire client configuration and initialization system has changed to a builder pattern. Please see
6 | link:_configuration.html[Configuration] for more details
7 | - Notably, `GuzzleConnection` and `CurlMultiConnection` have been removed. If your code relied on these classes specifically,
8 | or configured cURL options explicitly, please see the docs about how the new HTTP handler functions
9 | - The client no longer ships with a default logger, and Monolog has been moved to "suggest". Please see
10 | <> for details on how to use Monolog (or equivalent PSR/Log implementation)
11 | - `custom` parameters are now part of the `client` options (e.g. `['client' => ['custom' => 'abc'] ]`)
12 | - Exception ignoring is now now part of the `client` options (e.g. `['client' => ['ignore' => 404] ]`)
13 |
--------------------------------------------------------------------------------
/Application/Home/View/Index/search.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | Xfree内部社工库查询系统
5 |
6 |
7 |
8 |
9 |
10 |
11 | | 姓名 |
12 | 常用密码 |
13 | qq |
14 | 手机 |
15 | 网站 |
16 | 银行卡 |
17 | 出生年月 |
18 | 家庭住址 |
19 | 身份证号码 |
20 | 邮箱 |
21 | 常用登录IP |
22 | 其他 |
23 |
24 |
25 | {% if result %}
26 | {% for line in result %}
27 | | {{ line }} |
28 | {% endfor %}
29 | {% else %}
30 | No thing! |
31 | No thing! |
32 | No thing! |
33 | No thing! |
34 | No thing! |
35 | No thing! |
36 | No thing! |
37 | No thing! |
38 | No thing! |
39 | No thing! |
40 | No thing! |
41 | {% endif %}
42 |
43 |
44 |
45 |
46 |
--------------------------------------------------------------------------------
/ThinkPHP/Library/Vendor/Elasticsearch/guzzlehttp/ringphp/src/Future/FutureArray.php:
--------------------------------------------------------------------------------
1 | _value[$offset]);
14 | }
15 |
16 | public function offsetGet($offset)
17 | {
18 | return $this->_value[$offset];
19 | }
20 |
21 | public function offsetSet($offset, $value)
22 | {
23 | $this->_value[$offset] = $value;
24 | }
25 |
26 | public function offsetUnset($offset)
27 | {
28 | unset($this->_value[$offset]);
29 | }
30 |
31 | public function count()
32 | {
33 | return count($this->_value);
34 | }
35 |
36 | public function getIterator()
37 | {
38 | return new \ArrayIterator($this->_value);
39 | }
40 | }
41 |
--------------------------------------------------------------------------------
/ThinkPHP/Library/Vendor/Smarty/plugins/modifiercompiler.to_charset.php:
--------------------------------------------------------------------------------
1 |
13 | * Name: to_charset
14 | * Purpose: convert character encoding from internal encoding to $charset
15 | *
16 | * @author Rodney Rehm
17 | * @param array $params parameters
18 | * @return string with compiled code
19 | */
20 | function smarty_modifiercompiler_to_charset($params, $compiler)
21 | {
22 | if (!SMARTY_MBSTRING /* ^phpunit */&&empty($_SERVER['SMARTY_PHPUNIT_DISABLE_MBSTRING'])/* phpunit$ */) {
23 | // FIXME: (rodneyrehm) shouldn't this throw an error?
24 | return $params[0];
25 | }
26 |
27 | if (!isset($params[1])) {
28 | $params[1] = '"ISO-8859-1"';
29 | }
30 |
31 | return 'mb_convert_encoding(' . $params[0] . ', ' . $params[1] . ', SMARTY_RESOURCE_CHAR_SET)';
32 | }
33 |
34 | ?>
--------------------------------------------------------------------------------
/ThinkPHP/Library/Vendor/Smarty/plugins/modifiercompiler.from_charset.php:
--------------------------------------------------------------------------------
1 |
13 | * Name: from_charset
14 | * Purpose: convert character encoding from $charset to internal encoding
15 | *
16 | * @author Rodney Rehm
17 | * @param array $params parameters
18 | * @return string with compiled code
19 | */
20 | function smarty_modifiercompiler_from_charset($params, $compiler)
21 | {
22 | if (!SMARTY_MBSTRING /* ^phpunit */&&empty($_SERVER['SMARTY_PHPUNIT_DISABLE_MBSTRING'])/* phpunit$ */) {
23 | // FIXME: (rodneyrehm) shouldn't this throw an error?
24 | return $params[0];
25 | }
26 |
27 | if (!isset($params[1])) {
28 | $params[1] = '"ISO-8859-1"';
29 | }
30 |
31 | return 'mb_convert_encoding(' . $params[0] . ', SMARTY_RESOURCE_CHAR_SET, ' . $params[1] . ')';
32 | }
33 |
34 | ?>
--------------------------------------------------------------------------------
/ThinkPHP/Library/Vendor/spyc/README.md:
--------------------------------------------------------------------------------
1 | **Spyc** is a YAML loader/dumper written in pure PHP. Given a YAML document, Spyc will return an array that
2 | you can use however you see fit. Given an array, Spyc will return a string which contains a YAML document
3 | built from your data.
4 |
5 | **YAML** is an amazingly human friendly and strikingly versatile data serialization language which can be used
6 | for log files, config files, custom protocols, the works. For more information, see http://www.yaml.org.
7 |
8 | Spyc supports YAML 1.0 specification.
9 |
10 | ## Using Spyc
11 |
12 | Using Spyc is trivial:
13 |
14 | ```
15 | filepath = false;
30 | $compiled->timestamp = false;
31 | $compiled->exists = false;
32 | }
33 |
34 | }
35 |
36 | ?>
--------------------------------------------------------------------------------
/ThinkPHP/Library/Vendor/Elasticsearch/elasticsearch/elasticsearch/src/Elasticsearch/ConnectionPool/Selectors/RandomSelector.php:
--------------------------------------------------------------------------------
1 |
13 | * @license http://www.apache.org/licenses/LICENSE-2.0 Apache2
14 | * @link http://elasticsearch.org
15 | */
16 | class RandomSelector implements SelectorInterface
17 | {
18 | /**
19 | * Select a random connection from the provided array
20 | *
21 | * @param ConnectionInterface[] $connections an array of ConnectionInterface instances to choose from
22 | *
23 | * @return \Elasticsearch\Connections\ConnectionInterface
24 | */
25 | public function select($connections)
26 | {
27 | return $connections[array_rand($connections)];
28 | }
29 | }
30 |
--------------------------------------------------------------------------------
/ThinkPHP/Library/Vendor/Elasticsearch/elasticsearch/elasticsearch/src/Elasticsearch/Common/EmptyLogger.php:
--------------------------------------------------------------------------------
1 |
17 | * @license http://www.apache.org/licenses/LICENSE-2.0 Apache2
18 | * @link http://elasticsearch.org
19 | */
20 | class EmptyLogger extends AbstractLogger implements LoggerInterface
21 | {
22 | /**
23 | * Logs with an arbitrary level.
24 | *
25 | * @param mixed $level
26 | * @param string $message
27 | * @param array $context
28 | *
29 | * @return null
30 | */
31 | public function log($level, $message, array $context = array())
32 | {
33 | return;
34 | }
35 | }
36 |
--------------------------------------------------------------------------------
/ThinkPHP/Library/Vendor/Elasticsearch/elasticsearch/elasticsearch/src/Elasticsearch/Endpoints/Cat/Help.php:
--------------------------------------------------------------------------------
1 |
13 | * @license http://www.apache.org/licenses/LICENSE-2.0 Apache2
14 | * @link http://elasticsearch.org
15 | */
16 | class Help extends AbstractEndpoint
17 | {
18 | /**
19 | * @return string
20 | */
21 | protected function getURI()
22 | {
23 | $uri = "/_cat";
24 |
25 | return $uri;
26 | }
27 |
28 | /**
29 | * @return string[]
30 | */
31 | protected function getParamWhitelist()
32 | {
33 | return array(
34 | 'help',
35 | );
36 | }
37 |
38 | /**
39 | * @return string
40 | */
41 | protected function getMethod()
42 | {
43 | return 'GET';
44 | }
45 | }
46 |
--------------------------------------------------------------------------------
/ThinkPHP/Library/Vendor/Elasticsearch/elasticsearch/elasticsearch/src/Elasticsearch/Serializers/SerializerInterface.php:
--------------------------------------------------------------------------------
1 |
11 | * @license http://www.apache.org/licenses/LICENSE-2.0 Apache2
12 | * @link http://elasticsearch.org
13 | */
14 | interface SerializerInterface
15 | {
16 | /**
17 | * Serialize a complex data-structure into a json encoded string
18 | *
19 | * @param mixed The data to encode
20 | *
21 | * @return string
22 | */
23 | public function serialize($data);
24 |
25 | /**
26 | * Deserialize json encoded string into an associative array
27 | *
28 | * @param string $data JSON encoded string
29 | * @param array $headers Response Headers
30 | *
31 | * @return array
32 | */
33 | public function deserialize($data, $headers);
34 | }
35 |
--------------------------------------------------------------------------------
/ThinkPHP/Library/Vendor/EaseTemplate/template.ease.php:
--------------------------------------------------------------------------------
1 | '1', //缓存ID
27 | 'TplType' =>'htm', //模板格式
28 | 'CacheDir' =>'cache', //缓存目录
29 | 'TemplateDir'=>'template' , //模板存放目录
30 | 'AutoImage' =>'on' , //自动解析图片目录开关 on表示开放 off表示关闭
31 | 'LangDir' =>'language' , //语言文件存放的目录
32 | 'Language' =>'default' , //语言的默认文件
33 | 'Copyright' =>'off' , //版权保护
34 | 'MemCache' =>'' , //Memcache服务器地址例如:127.0.0.1:11211
35 | )
36 | ){
37 |
38 | parent::ETCoreStart($set);
39 | }
40 |
41 | }
42 | ?>
--------------------------------------------------------------------------------
/ThinkPHP/Library/Vendor/Elasticsearch/guzzlehttp/streams/src/LazyOpenStream.php:
--------------------------------------------------------------------------------
1 | filename = $filename;
25 | $this->mode = $mode;
26 | }
27 |
28 | /**
29 | * Creates the underlying stream lazily when required.
30 | *
31 | * @return StreamInterface
32 | */
33 | protected function createStream()
34 | {
35 | return Stream::factory(Utils::open($this->filename, $this->mode));
36 | }
37 | }
38 |
--------------------------------------------------------------------------------
/ThinkPHP/Library/Vendor/Elasticsearch/react/promise/tests/TestCase.php:
--------------------------------------------------------------------------------
1 | createCallableMock();
10 | $mock
11 | ->expects($this->exactly($amount))
12 | ->method('__invoke');
13 |
14 | return $mock;
15 | }
16 |
17 | public function expectCallableOnce()
18 | {
19 | $mock = $this->createCallableMock();
20 | $mock
21 | ->expects($this->once())
22 | ->method('__invoke');
23 |
24 | return $mock;
25 | }
26 |
27 | public function expectCallableNever()
28 | {
29 | $mock = $this->createCallableMock();
30 | $mock
31 | ->expects($this->never())
32 | ->method('__invoke');
33 |
34 | return $mock;
35 | }
36 |
37 | public function createCallableMock()
38 | {
39 | return $this->getMock('React\\Promise\Stub\CallableStub');
40 | }
41 | }
42 |
--------------------------------------------------------------------------------
/ThinkPHP/Library/Vendor/Elasticsearch/guzzlehttp/streams/tests/DroppingStreamTest.php:
--------------------------------------------------------------------------------
1 | assertEquals(3, $drop->write('hel'));
14 | $this->assertFalse($drop->write('lo'));
15 | $this->assertEquals(5, $drop->getSize());
16 | $this->assertEquals('hello', $drop->read(5));
17 | $this->assertEquals(0, $drop->getSize());
18 | $drop->write('12345678910');
19 | $this->assertEquals(5, $stream->getSize());
20 | $this->assertEquals(5, $drop->getSize());
21 | $this->assertEquals('12345', (string) $drop);
22 | $this->assertEquals(0, $drop->getSize());
23 | $drop->write('hello');
24 | $this->assertFalse($drop->write('test'));
25 | }
26 | }
27 |
--------------------------------------------------------------------------------
/ThinkPHP/Library/Vendor/Smarty/plugins/modifier.replace.php:
--------------------------------------------------------------------------------
1 |
12 | * Name: replace
13 | * Purpose: simple search/replace
14 | *
15 | * @link http://smarty.php.net/manual/en/language.modifier.replace.php replace (Smarty online manual)
16 | * @author Monte Ohrt
17 | * @author Uwe Tews
18 | * @param string $string input string
19 | * @param string $search text to search for
20 | * @param string $replace replacement text
21 | * @return string
22 | */
23 | function smarty_modifier_replace($string, $search, $replace)
24 | {
25 | if (SMARTY_MBSTRING /* ^phpunit */&&empty($_SERVER['SMARTY_PHPUNIT_DISABLE_MBSTRING'])/* phpunit$ */) {
26 | require_once(SMARTY_PLUGINS_DIR . 'shared.mb_str_replace.php');
27 | return smarty_mb_str_replace($search, $replace, $string);
28 | }
29 |
30 | return str_replace($search, $replace, $string);
31 | }
32 |
33 | ?>
--------------------------------------------------------------------------------
/ThinkPHP/Library/Vendor/Elasticsearch/elasticsearch/elasticsearch/util/EnsureClusterAlive.php:
--------------------------------------------------------------------------------
1 | [$_SERVER['ES_TEST_HOST']]
20 | ]);
21 |
22 | $count = 0;
23 | while (!$client->ping()) {
24 | $count += 1;
25 |
26 | if ($count > 15) {
27 | throw new \Exception("Live cluster could not be found in 15s!");
28 | }
29 | sleep(1);
30 | }
31 |
32 |
--------------------------------------------------------------------------------
/ThinkPHP/Library/Vendor/Elasticsearch/guzzlehttp/streams/README.rst:
--------------------------------------------------------------------------------
1 | ==============
2 | Guzzle Streams
3 | ==============
4 |
5 | Provides a simple abstraction over streams of data.
6 |
7 | This library is used in `Guzzle 5 `_, and is
8 | (currently) compatible with the WIP PSR-7.
9 |
10 | Installation
11 | ============
12 |
13 | This package can be installed easily using `Composer `_.
14 | Simply add the following to the composer.json file at the root of your project:
15 |
16 | .. code-block:: javascript
17 |
18 | {
19 | "require": {
20 | "guzzlehttp/streams": "~3.0"
21 | }
22 | }
23 |
24 | Then install your dependencies using ``composer.phar install``.
25 |
26 | Documentation
27 | =============
28 |
29 | The documentation for this package can be found on the main Guzzle website at
30 | http://docs.guzzlephp.org/en/guzzle4/streams.html.
31 |
32 | Testing
33 | =======
34 |
35 | This library is tested using PHPUnit. You'll need to install the dependencies
36 | using `Composer `_ then run ``make test``.
37 |
--------------------------------------------------------------------------------
/ThinkPHP/Library/Vendor/spyc/examples/yaml-dump.php:
--------------------------------------------------------------------------------
1 | 'A sequence','second' => 'of mapped values');
18 | $array['Mapped'] = array('A sequence','which is mapped');
19 | $array['A Note'] = 'What if your text is too long?';
20 | $array['Another Note'] = 'If that is the case, the dumper will probably fold your text by using a block. Kinda like this.';
21 | $array['The trick?'] = 'The trick is that we overrode the default indent, 2, to 4 and the default wordwrap, 40, to 60.';
22 | $array['Old Dog'] = "And if you want\n to preserve line breaks, \ngo ahead!";
23 | $array['key:withcolon'] = "Should support this to";
24 |
25 | $yaml = Spyc::YAMLDump($array,4,60);
26 |
--------------------------------------------------------------------------------
/ThinkPHP/Library/Vendor/Elasticsearch/guzzlehttp/ringphp/src/Future/MagicFutureTrait.php:
--------------------------------------------------------------------------------
1 | _value = $this->wait();
31 | }
32 | }
33 |
--------------------------------------------------------------------------------
/ThinkPHP/Library/Vendor/Elasticsearch/guzzlehttp/streams/src/InflateStream.php:
--------------------------------------------------------------------------------
1 | stream = new Stream($resource);
26 | }
27 | }
28 |
--------------------------------------------------------------------------------
/ThinkPHP/Library/Vendor/Smarty/sysplugins/smarty_internal_get_include_path.php:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/ThinkPHP/Library/Vendor/Elasticsearch/guzzlehttp/ringphp/src/Future/CompletedFutureArray.php:
--------------------------------------------------------------------------------
1 | result[$offset]);
17 | }
18 |
19 | public function offsetGet($offset)
20 | {
21 | return $this->result[$offset];
22 | }
23 |
24 | public function offsetSet($offset, $value)
25 | {
26 | $this->result[$offset] = $value;
27 | }
28 |
29 | public function offsetUnset($offset)
30 | {
31 | unset($this->result[$offset]);
32 | }
33 |
34 | public function count()
35 | {
36 | return count($this->result);
37 | }
38 |
39 | public function getIterator()
40 | {
41 | return new \ArrayIterator($this->result);
42 | }
43 | }
44 |
--------------------------------------------------------------------------------
/ThinkPHP/Library/Vendor/Smarty/plugins/modifiercompiler.count_characters.php:
--------------------------------------------------------------------------------
1 |
13 | * Name: count_characteres
14 | * Purpose: count the number of characters in a text
15 | *
16 | * @link http://www.smarty.net/manual/en/language.modifier.count.characters.php count_characters (Smarty online manual)
17 | * @author Uwe Tews
18 | * @param array $params parameters
19 | * @return string with compiled code
20 | */
21 | function smarty_modifiercompiler_count_characters($params, $compiler)
22 | {
23 | if (!isset($params[1]) || $params[1] != 'true') {
24 | return 'preg_match_all(\'/[^\s]/u\',' . $params[0] . ', $tmp)';
25 | }
26 | if (SMARTY_MBSTRING /* ^phpunit */&&empty($_SERVER['SMARTY_PHPUNIT_DISABLE_MBSTRING'])/* phpunit$ */) {
27 | return 'mb_strlen(' . $params[0] . ', SMARTY_RESOURCE_CHAR_SET)';
28 | }
29 | // no MBString fallback
30 | return 'strlen(' . $params[0] . ')';
31 | }
32 |
33 | ?>
--------------------------------------------------------------------------------
/ThinkPHP/Library/Vendor/Elasticsearch/react/promise/tests/PromiseAdapter/CallbackPromiseAdapter.php:
--------------------------------------------------------------------------------
1 | callbacks = $callbacks;
14 | }
15 |
16 | public function promise()
17 | {
18 | return call_user_func_array($this->callbacks['promise'], func_get_args());
19 | }
20 |
21 | public function resolve()
22 | {
23 | return call_user_func_array($this->callbacks['resolve'], func_get_args());
24 | }
25 |
26 | public function reject()
27 | {
28 | return call_user_func_array($this->callbacks['reject'], func_get_args());
29 | }
30 |
31 | public function notify()
32 | {
33 | return call_user_func_array($this->callbacks['notify'], func_get_args());
34 | }
35 |
36 | public function settle()
37 | {
38 | return call_user_func_array($this->callbacks['settle'], func_get_args());
39 | }
40 | }
41 |
--------------------------------------------------------------------------------
/ThinkPHP/Library/Behavior/AgentCheckBehavior.class.php:
--------------------------------------------------------------------------------
1 |
10 | // +----------------------------------------------------------------------
11 | namespace Behavior;
12 | /**
13 | * 行为扩展:代理检测
14 | */
15 | class AgentCheckBehavior {
16 | public function run(&$params) {
17 | // 代理访问检测
18 | $limitProxyVisit = C('LIMIT_PROXY_VISIT',null,true);
19 | if($limitProxyVisit && ($_SERVER['HTTP_X_FORWARDED_FOR'] || $_SERVER['HTTP_VIA'] || $_SERVER['HTTP_PROXY_CONNECTION'] || $_SERVER['HTTP_USER_AGENT_VIA'])) {
20 | // 禁止代理访问
21 | exit('Access Denied');
22 | }
23 | }
24 | }
25 |
--------------------------------------------------------------------------------
/ThinkPHP/Library/Vendor/Elasticsearch/elasticsearch/elasticsearch/src/Elasticsearch/Endpoints/Cluster/PendingTasks.php:
--------------------------------------------------------------------------------
1 |
13 | * @license http://www.apache.org/licenses/LICENSE-2.0 Apache2
14 | * @link http://elasticsearch.org
15 | */
16 | class PendingTasks extends AbstractEndpoint
17 | {
18 | /**
19 | * @return string
20 | */
21 | protected function getURI()
22 | {
23 | $uri = "/_cluster/pending_tasks";
24 |
25 | return $uri;
26 | }
27 |
28 | /**
29 | * @return string[]
30 | */
31 | protected function getParamWhitelist()
32 | {
33 | return array(
34 | 'local',
35 | 'master_timeout',
36 | );
37 | }
38 |
39 | /**
40 | * @return string
41 | */
42 | protected function getMethod()
43 | {
44 | return 'GET';
45 | }
46 | }
47 |
--------------------------------------------------------------------------------
/ThinkPHP/Library/Vendor/Elasticsearch/guzzlehttp/ringphp/Makefile:
--------------------------------------------------------------------------------
1 | all: clean coverage docs
2 |
3 | docs:
4 | cd docs && make html
5 |
6 | view-docs:
7 | open docs/_build/html/index.html
8 |
9 | start-server: stop-server
10 | node tests/Client/server.js &> /dev/null &
11 |
12 | stop-server:
13 | @PID=$(shell ps axo pid,command \
14 | | grep 'tests/Client/server.js' \
15 | | grep -v grep \
16 | | cut -f 1 -d " "\
17 | ) && [ -n "$$PID" ] && kill $$PID || true
18 |
19 | test: start-server
20 | vendor/bin/phpunit $(TEST)
21 | $(MAKE) stop-server
22 |
23 | coverage: start-server
24 | vendor/bin/phpunit --coverage-html=build/artifacts/coverage $(TEST)
25 | $(MAKE) stop-server
26 |
27 | view-coverage:
28 | open build/artifacts/coverage/index.html
29 |
30 | clean:
31 | rm -rf build/artifacts/*
32 | cd docs && make clean
33 |
34 | tag:
35 | $(if $(TAG),,$(error TAG is not defined. Pass via "make tag TAG=4.2.1"))
36 | @echo Tagging $(TAG)
37 | chag update -m '$(TAG) ()'
38 | git add -A
39 | git commit -m '$(TAG) release'
40 | chag tag
41 |
42 | perf: start-server
43 | php tests/perf.php
44 | $(MAKE) stop-server
45 |
46 | .PHONY: docs
47 |
--------------------------------------------------------------------------------
/ThinkPHP/Library/Vendor/spyc/COPYING:
--------------------------------------------------------------------------------
1 | The MIT License
2 |
3 | Copyright (c) 2011 Vladimir Andersen
4 |
5 | Permission is hereby granted, free of charge, to any person obtaining a copy
6 | of this software and associated documentation files (the "Software"), to deal
7 | in the Software without restriction, including without limitation the rights
8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9 | copies of the Software, and to permit persons to whom the Software is
10 | furnished to do so, subject to the following conditions:
11 |
12 | The above copyright notice and this permission notice shall be included in
13 | all copies or substantial portions of the Software.
14 |
15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21 | THE SOFTWARE.
--------------------------------------------------------------------------------
/ThinkPHP/Library/Vendor/Elasticsearch/elasticsearch/elasticsearch/src/Elasticsearch/Endpoints/Cat/Nodes.php:
--------------------------------------------------------------------------------
1 |
13 | * @license http://www.apache.org/licenses/LICENSE-2.0 Apache2
14 | * @link http://elasticsearch.org
15 | */
16 | class Nodes extends AbstractEndpoint
17 | {
18 | /**
19 | * @return string
20 | */
21 | protected function getURI()
22 | {
23 | $uri = "/_cat/nodes";
24 |
25 | return $uri;
26 | }
27 |
28 | /**
29 | * @return string[]
30 | */
31 | protected function getParamWhitelist()
32 | {
33 | return array(
34 | 'local',
35 | 'master_timeout',
36 | 'h',
37 | 'help',
38 | 'v',
39 | );
40 | }
41 |
42 | /**
43 | * @return string
44 | */
45 | protected function getMethod()
46 | {
47 | return 'GET';
48 | }
49 | }
50 |
--------------------------------------------------------------------------------
/ThinkPHP/Library/Vendor/Smarty/plugins/modifiercompiler.count_words.php:
--------------------------------------------------------------------------------
1 |
13 | * Name: count_words
14 | * Purpose: count the number of words in a text
15 | *
16 | * @link http://www.smarty.net/manual/en/language.modifier.count.words.php count_words (Smarty online manual)
17 | * @author Uwe Tews
18 | * @param array $params parameters
19 | * @return string with compiled code
20 | */
21 | function smarty_modifiercompiler_count_words($params, $compiler)
22 | {
23 | if (SMARTY_MBSTRING /* ^phpunit */&&empty($_SERVER['SMARTY_PHPUNIT_DISABLE_MBSTRING'])/* phpunit$ */) {
24 | // return 'preg_match_all(\'#[\w\pL]+#u\', ' . $params[0] . ', $tmp)';
25 | // expression taken from http://de.php.net/manual/en/function.str-word-count.php#85592
26 | return 'preg_match_all(\'/\p{L}[\p{L}\p{Mn}\p{Pd}\\\'\x{2019}]*/u\', ' . $params[0] . ', $tmp)';
27 | }
28 | // no MBString fallback
29 | return 'str_word_count(' . $params[0] . ')';
30 | }
31 |
32 | ?>
--------------------------------------------------------------------------------
/ThinkPHP/Library/Vendor/TemplateLite/internal/compile.compile_custom_function.php:
--------------------------------------------------------------------------------
1 | _plugin_exists($function, "function"))
12 | {
13 | $_args = $object->_parse_arguments($arguments);
14 | foreach($_args as $key => $value)
15 | {
16 | if (is_bool($value))
17 | {
18 | $value = $value ? 'true' : 'false';
19 | }
20 | if (is_null($value))
21 | {
22 | $value = 'null';
23 | }
24 | $_args[$key] = "'$key' => $value";
25 | }
26 | $_result = '_parse_modifier($function . '(array(' . implode(',', (array)$_args) . '), $this)', $modifiers) . '; ';
30 | }
31 | else
32 | {
33 | $_result .= $function . '(array(' . implode(',', (array)$_args) . '), $this);';
34 | }
35 | $_result .= '?>';
36 | return true;
37 | }
38 | else
39 | {
40 | return false;
41 | }
42 | }
43 |
44 | ?>
--------------------------------------------------------------------------------
/ThinkPHP/Library/Think/Template/Driver/Mobile.class.php:
--------------------------------------------------------------------------------
1 |
10 | // +----------------------------------------------------------------------
11 | namespace Think\Template\Driver;
12 | /**
13 | * MobileTemplate模板引擎驱动
14 | */
15 | class Mobile {
16 | /**
17 | * 渲染模板输出
18 | * @access public
19 | * @param string $templateFile 模板文件名
20 | * @param array $var 模板变量
21 | * @return void
22 | */
23 | public function fetch($templateFile,$var) {
24 | $templateFile=substr($templateFile,strlen(THEME_PATH));
25 | $var['_think_template_path']=$templateFile;
26 | exit(json_encode($var));
27 | }
28 | }
29 |
--------------------------------------------------------------------------------
/ThinkPHP/Library/Vendor/Elasticsearch/elasticsearch/elasticsearch/src/Elasticsearch/Endpoints/Cat/Master.php:
--------------------------------------------------------------------------------
1 |
13 | * @license http://www.apache.org/licenses/LICENSE-2.0 Apache2
14 | * @link http://elasticsearch.org
15 | */
16 | class Master extends AbstractEndpoint
17 | {
18 | /**
19 | * @return string
20 | */
21 | protected function getURI()
22 | {
23 | $uri = "/_cat/master";
24 |
25 | return $uri;
26 | }
27 |
28 | /**
29 | * @return string[]
30 | */
31 | protected function getParamWhitelist()
32 | {
33 | return array(
34 | 'local',
35 | 'master_timeout',
36 | 'h',
37 | 'help',
38 | 'v',
39 | );
40 | }
41 |
42 | /**
43 | * @return string
44 | */
45 | protected function getMethod()
46 | {
47 | return 'GET';
48 | }
49 | }
50 |
--------------------------------------------------------------------------------
/ThinkPHP/Library/Vendor/Elasticsearch/elasticsearch/elasticsearch/src/Elasticsearch/Endpoints/Cat/Plugins.php:
--------------------------------------------------------------------------------
1 |
13 | * @license http://www.apache.org/licenses/LICENSE-2.0 Apache2
14 | * @link http://elasticsearch.org
15 | */
16 | class Plugins extends AbstractEndpoint
17 | {
18 | /**
19 | * @return string
20 | */
21 | protected function getURI()
22 | {
23 | $uri = "/_cat/plugins";
24 |
25 | return $uri;
26 | }
27 |
28 | /**
29 | * @return string[]
30 | */
31 | protected function getParamWhitelist()
32 | {
33 | return array(
34 | 'local',
35 | 'master_timeout',
36 | 'h',
37 | 'help',
38 | 'v',
39 | );
40 | }
41 |
42 | /**
43 | * @return string
44 | */
45 | protected function getMethod()
46 | {
47 | return 'GET';
48 | }
49 | }
50 |
--------------------------------------------------------------------------------
/ThinkPHP/Library/Vendor/Elasticsearch/elasticsearch/elasticsearch/src/Elasticsearch/ConnectionPool/Selectors/RoundRobinSelector.php:
--------------------------------------------------------------------------------
1 |
13 | * @license http://www.apache.org/licenses/LICENSE-2.0 Apache2
14 | * @link http://elasticsearch.org
15 | */
16 | class RoundRobinSelector implements SelectorInterface
17 | {
18 | /**
19 | * @var int
20 | */
21 | private $current = 0;
22 |
23 | /**
24 | * Select the next connection in the sequence
25 | *
26 | * @param ConnectionInterface[] $connections an array of ConnectionInterface instances to choose from
27 | *
28 | * @return \Elasticsearch\Connections\ConnectionInterface
29 | */
30 | public function select($connections)
31 | {
32 | $this->current += 1;
33 |
34 | return $connections[$this->current % count($connections)];
35 | }
36 | }
37 |
--------------------------------------------------------------------------------
/ThinkPHP/Library/Vendor/Elasticsearch/react/promise/LICENSE:
--------------------------------------------------------------------------------
1 | Copyright (c) 2012-2016 Jan Sorgalla
2 |
3 | Permission is hereby granted, free of charge, to any person
4 | obtaining a copy of this software and associated documentation
5 | files (the "Software"), to deal in the Software without
6 | restriction, including without limitation the rights to use,
7 | copy, modify, merge, publish, distribute, sublicense, and/or sell
8 | copies of the Software, and to permit persons to whom the
9 | Software is furnished to do so, subject to the following
10 | conditions:
11 |
12 | The above copyright notice and this permission notice shall be
13 | included in all copies or substantial portions of the Software.
14 |
15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
16 | EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
17 | OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
18 | NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
19 | HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
20 | WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
21 | FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
22 | OTHER DEALINGS IN THE SOFTWARE.
23 |
--------------------------------------------------------------------------------
/Application/Home/View/Index_search.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | Xfree内部社工库查询系统
5 |
6 |
7 |
8 |
9 |
10 |
11 |
查询结果
12 |
13 |
14 | | 姓名 |
15 | 常用密码 |
16 | qq |
17 | 手机 |
18 | 网站 |
19 | 银行卡 |
20 | 出生年月 |
21 | 家庭住址 |
22 | 身份证号码 |
23 | 邮箱 |
24 | 常用登录IP |
25 | 其他 |
26 |
27 |
28 |
29 |
30 | | {$v['username']} |
31 | {$v['pass']} |
32 | {$v['qq']} |
33 | {$v['phone']} |
34 | {$v['website']} |
35 | {$v['card']} |
36 | {$v['birth']} |
37 | {$v['idcard']} |
38 | {$v['email']} |
39 | {$v['ip']} |
40 | {$v['other']} |
41 |
42 |
43 |
44 |
45 |
46 |
47 |
48 |
--------------------------------------------------------------------------------
/ThinkPHP/Library/Vendor/Elasticsearch/composer/LICENSE:
--------------------------------------------------------------------------------
1 |
2 | Copyright (c) 2016 Nils Adermann, Jordi Boggiano
3 |
4 | Permission is hereby granted, free of charge, to any person obtaining a copy
5 | of this software and associated documentation files (the "Software"), to deal
6 | in the Software without restriction, including without limitation the rights
7 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
8 | copies of the Software, and to permit persons to whom the Software is furnished
9 | to do so, subject to the following conditions:
10 |
11 | The above copyright notice and this permission notice shall be included in all
12 | copies or substantial portions of the Software.
13 |
14 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
15 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
16 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
17 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
18 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
19 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
20 | THE SOFTWARE.
21 |
22 |
--------------------------------------------------------------------------------
/ThinkPHP/Library/Vendor/Elasticsearch/elasticsearch/elasticsearch/src/Elasticsearch/Endpoints/Cat/NodeAttrs.php:
--------------------------------------------------------------------------------
1 |
13 | * @license http://www.apache.org/licenses/LICENSE-2.0 Apache2
14 | * @link http://elasticsearch.org
15 | */
16 | class NodeAttrs extends AbstractEndpoint
17 | {
18 | /**
19 | * @return string
20 | */
21 | protected function getURI()
22 | {
23 | $uri = "/_cat/nodeattrs";
24 |
25 | return $uri;
26 | }
27 |
28 | /**
29 | * @return string[]
30 | */
31 | protected function getParamWhitelist()
32 | {
33 | return array(
34 | 'local',
35 | 'master_timeout',
36 | 'h',
37 | 'help',
38 | 'v',
39 | );
40 | }
41 |
42 | /**
43 | * @return string
44 | */
45 | protected function getMethod()
46 | {
47 | return 'GET';
48 | }
49 | }
50 |
--------------------------------------------------------------------------------
/ThinkPHP/Library/Vendor/Elasticsearch/elasticsearch/elasticsearch/src/Elasticsearch/Endpoints/Cluster/Settings/Get.php:
--------------------------------------------------------------------------------
1 |
13 | * @license http://www.apache.org/licenses/LICENSE-2.0 Apache2
14 | * @link http://elasticsearch.org
15 | */
16 |
17 | class Get extends AbstractEndpoint
18 | {
19 | /**
20 | * @return string
21 | */
22 | protected function getURI()
23 | {
24 | $uri = "/_cluster/settings";
25 |
26 | return $uri;
27 | }
28 |
29 | /**
30 | * @return string[]
31 | */
32 | protected function getParamWhitelist()
33 | {
34 | return array(
35 | 'flat_settings',
36 | 'master_timeout',
37 | 'timeout',
38 | );
39 | }
40 |
41 | /**
42 | * @return string
43 | */
44 | protected function getMethod()
45 | {
46 | return 'GET';
47 | }
48 | }
49 |
--------------------------------------------------------------------------------
/ThinkPHP/Library/Vendor/Elasticsearch/psr/log/LICENSE:
--------------------------------------------------------------------------------
1 | Copyright (c) 2012 PHP Framework Interoperability Group
2 |
3 | Permission is hereby granted, free of charge, to any person obtaining a copy
4 | of this software and associated documentation files (the "Software"), to deal
5 | in the Software without restriction, including without limitation the rights
6 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
7 | copies of the Software, and to permit persons to whom the Software is
8 | furnished to do so, subject to the following conditions:
9 |
10 | The above copyright notice and this permission notice shall be included in
11 | all copies or substantial portions of the Software.
12 |
13 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
14 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
15 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
16 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
17 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
18 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
19 | THE SOFTWARE.
20 |
--------------------------------------------------------------------------------
/ThinkPHP/Library/Vendor/Smarty/plugins/shared.literal_compiler_param.php:
--------------------------------------------------------------------------------
1 | =5.4.0",
14 | "guzzlehttp/streams": "~3.0",
15 | "react/promise": "~2.0"
16 | },
17 | "require-dev": {
18 | "ext-curl": "*",
19 | "phpunit/phpunit": "~4.0"
20 | },
21 | "suggest": {
22 | "ext-curl": "Guzzle will use specific adapters if cURL is present"
23 | },
24 | "autoload": {
25 | "psr-4": {
26 | "GuzzleHttp\\Ring\\": "src/"
27 | }
28 | },
29 | "autoload-dev": {
30 | "psr-4": {
31 | "GuzzleHttp\\Tests\\Ring\\": "tests/"
32 | }
33 | },
34 | "extra": {
35 | "branch-alias": {
36 | "dev-master": "1.1-dev"
37 | }
38 | }
39 | }
40 |
--------------------------------------------------------------------------------
/ThinkPHP/Library/Vendor/Elasticsearch/elasticsearch/elasticsearch/src/Elasticsearch/Endpoints/Cat/Health.php:
--------------------------------------------------------------------------------
1 |
13 | * @license http://www.apache.org/licenses/LICENSE-2.0 Apache2
14 | * @link http://elasticsearch.org
15 | */
16 | class Health extends AbstractEndpoint
17 | {
18 | /**
19 | * @return string
20 | */
21 | protected function getURI()
22 | {
23 | $uri = "/_cat/health";
24 |
25 | return $uri;
26 | }
27 |
28 | /**
29 | * @return string[]
30 | */
31 | protected function getParamWhitelist()
32 | {
33 | return array(
34 | 'local',
35 | 'master_timeout',
36 | 'h',
37 | 'help',
38 | 'ts',
39 | 'v',
40 | );
41 | }
42 |
43 | /**
44 | * @return string
45 | */
46 | protected function getMethod()
47 | {
48 | return 'GET';
49 | }
50 | }
51 |
--------------------------------------------------------------------------------
/ThinkPHP/Library/Vendor/Elasticsearch/elasticsearch/elasticsearch/src/Elasticsearch/ConnectionPool/SimpleConnectionPool.php:
--------------------------------------------------------------------------------
1 | selector->select($this->connections);
30 | }
31 |
32 | public function scheduleCheck()
33 | {
34 | }
35 |
36 | }
37 |
--------------------------------------------------------------------------------
/ThinkPHP/Library/Vendor/Elasticsearch/elasticsearch/elasticsearch/src/Elasticsearch/Endpoints/Cat/PendingTasks.php:
--------------------------------------------------------------------------------
1 |
13 | * @license http://www.apache.org/licenses/LICENSE-2.0 Apache2
14 | * @link http://elasticsearch.org
15 | */
16 | class PendingTasks extends AbstractEndpoint
17 | {
18 | /**
19 | * @return string
20 | */
21 | protected function getURI()
22 | {
23 | $uri = "/_cat/pending_tasks";
24 |
25 | return $uri;
26 | }
27 |
28 | /**
29 | * @return string[]
30 | */
31 | protected function getParamWhitelist()
32 | {
33 | return array(
34 | 'local',
35 | 'master_timeout',
36 | 'h',
37 | 'help',
38 | 'v',
39 | );
40 | }
41 |
42 | /**
43 | * @return string
44 | */
45 | protected function getMethod()
46 | {
47 | return 'GET';
48 | }
49 | }
50 |
--------------------------------------------------------------------------------
/ThinkPHP/Library/Vendor/Elasticsearch/elasticsearch/elasticsearch/src/Elasticsearch/Endpoints/Cat/Repositories.php:
--------------------------------------------------------------------------------
1 |
13 | * @license http://www.apache.org/licenses/LICENSE-2.0 Apache2
14 | * @link http://elasticsearch.org
15 | */
16 | class Repositories extends AbstractEndpoint
17 | {
18 | /**
19 | * @return string
20 | */
21 | protected function getURI()
22 | {
23 | $uri = "/_cat/repositories";
24 |
25 | return $uri;
26 | }
27 |
28 | /**
29 | * @return string[]
30 | */
31 | protected function getParamWhitelist()
32 | {
33 | return array(
34 | 'local',
35 | 'master_timeout',
36 | 'h',
37 | 'help',
38 | 'v',
39 | );
40 | }
41 |
42 | /**
43 | * @return string
44 | */
45 | protected function getMethod()
46 | {
47 | return 'GET';
48 | }
49 | }
50 |
--------------------------------------------------------------------------------
/ThinkPHP/Library/Vendor/Elasticsearch/elasticsearch/elasticsearch/src/Elasticsearch/Connections/ConnectionFactoryInterface.php:
--------------------------------------------------------------------------------
1 |
14 | * @license http://www.apache.org/licenses/LICENSE-2.0 Apache2
15 | * @link http://elasticsearch.org
16 | */
17 | interface ConnectionFactoryInterface
18 | {
19 | /**
20 | * @param $handler
21 | * @param array $connectionParams
22 | * @param SerializerInterface $serializer
23 | * @param LoggerInterface $logger
24 | * @param LoggerInterface $tracer
25 | */
26 | public function __construct(callable $handler, array $connectionParams,
27 | SerializerInterface $serializer, LoggerInterface $logger, LoggerInterface $tracer);
28 |
29 | /**
30 | * @param $hostDetails
31 | *
32 | * @return ConnectionInterface
33 | */
34 | public function create($hostDetails);
35 | }
36 |
--------------------------------------------------------------------------------
/Public/css/style2.css:
--------------------------------------------------------------------------------
1 | @font-face {
2 | font-family: 'Open Sans';
3 | font-style: normal;
4 | font-weight: 300;
5 | src: local('Open Sans Light'), local('OpenSans-Light'), url(./woff/DXI1ORHCpsQm3Vp6mXoaTXhCUOGz7vYGh680lGh-uXM.woff) format('woff');
6 | }
7 | @font-face {
8 | font-family: 'Open Sans';
9 | font-style: normal;
10 | font-weight: 400;
11 | src: local('Open Sans'), local('OpenSans'), url(./woff/cJZKeOuBrn4kERxqtaUH3T8E0i7KZn-EPnyo3HZu7kw.woff) format('woff');
12 | }
13 | @font-face {
14 | font-family: 'Open Sans';
15 | font-style: normal;
16 | font-weight: 600;
17 | src: local('Open Sans Semibold'), local('OpenSans-Semibold'), url(./woff/MTP_ySUJH_bn48VBG8sNSnhCUOGz7vYGh680lGh-uXM.woff) format('woff');
18 | }
19 | @font-face {
20 | font-family: 'Open Sans';
21 | font-style: normal;
22 | font-weight: 700;
23 | src: local('Open Sans Bold'), local('OpenSans-Bold'), url(./woff/k3k702ZOKiLJc3WVjuplzHhCUOGz7vYGh680lGh-uXM.woff) format('woff');
24 | }
25 | @font-face {
26 | font-family: 'Open Sans';
27 | font-style: normal;
28 | font-weight: 800;
29 | src: local('Open Sans Extrabold'), local('OpenSans-Extrabold'), url(./woff/EInbV5DfGHOiMmvb1Xr-hnhCUOGz7vYGh680lGh-uXM.woff) format('woff');
30 | }
31 |
--------------------------------------------------------------------------------
/ThinkPHP/Library/Vendor/Elasticsearch/elasticsearch/elasticsearch/src/Elasticsearch/Endpoints/Indices/Alias/AbstractAliasEndpoint.php:
--------------------------------------------------------------------------------
1 |
14 | * @license http://www.apache.org/licenses/LICENSE-2.0 Apache2
15 | * @link http://elasticsearch.org
16 | */
17 | abstract class AbstractAliasEndpoint extends AbstractEndpoint
18 | {
19 | /** @var null|string */
20 | protected $name = null;
21 |
22 | /**
23 | * @param $name
24 | *
25 | * @throws \Elasticsearch\Common\Exceptions\InvalidArgumentException
26 | *
27 | * @return $this
28 | */
29 | public function setName($name)
30 | {
31 | if (is_string($name) !== true) {
32 | throw new InvalidArgumentException('Name must be a string');
33 | }
34 | $this->name = urlencode($name);
35 |
36 | return $this;
37 | }
38 | }
39 |
--------------------------------------------------------------------------------
/ThinkPHP/Library/Vendor/Elasticsearch/guzzlehttp/ringphp/LICENSE:
--------------------------------------------------------------------------------
1 | Copyright (c) 2014 Michael Dowling, https://github.com/mtdowling
2 |
3 | Permission is hereby granted, free of charge, to any person obtaining a copy
4 | of this software and associated documentation files (the "Software"), to deal
5 | in the Software without restriction, including without limitation the rights
6 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
7 | copies of the Software, and to permit persons to whom the Software is
8 | furnished to do so, subject to the following conditions:
9 |
10 | The above copyright notice and this permission notice shall be included in
11 | all copies or substantial portions of the Software.
12 |
13 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
14 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
15 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
16 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
17 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
18 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
19 | THE SOFTWARE.
20 |
--------------------------------------------------------------------------------
/ThinkPHP/Library/Vendor/Elasticsearch/guzzlehttp/streams/LICENSE:
--------------------------------------------------------------------------------
1 | Copyright (c) 2014 Michael Dowling, https://github.com/mtdowling
2 |
3 | Permission is hereby granted, free of charge, to any person obtaining a copy
4 | of this software and associated documentation files (the "Software"), to deal
5 | in the Software without restriction, including without limitation the rights
6 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
7 | copies of the Software, and to permit persons to whom the Software is
8 | furnished to do so, subject to the following conditions:
9 |
10 | The above copyright notice and this permission notice shall be included in
11 | all copies or substantial portions of the Software.
12 |
13 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
14 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
15 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
16 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
17 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
18 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
19 | THE SOFTWARE.
20 |
--------------------------------------------------------------------------------
/ThinkPHP/Library/Vendor/Elasticsearch/elasticsearch/elasticsearch/src/Elasticsearch/Endpoints/Cat/ThreadPool.php:
--------------------------------------------------------------------------------
1 |
13 | * @license http://www.apache.org/licenses/LICENSE-2.0 Apache2
14 | * @link http://elasticsearch.org
15 | */
16 |
17 | class ThreadPool extends AbstractEndpoint
18 | {
19 | /**
20 | * @return string
21 | */
22 | protected function getURI()
23 | {
24 | $uri = "/_cat/thread_pool";
25 |
26 | return $uri;
27 | }
28 |
29 | /**
30 | * @return string[]
31 | */
32 | protected function getParamWhitelist()
33 | {
34 | return array(
35 | 'local',
36 | 'master_timeout',
37 | 'h',
38 | 'help',
39 | 'v',
40 | 'full_id',
41 | );
42 | }
43 |
44 | /**
45 | * @return string
46 | */
47 | protected function getMethod()
48 | {
49 | return 'GET';
50 | }
51 | }
52 |
--------------------------------------------------------------------------------
/ThinkPHP/Library/Vendor/Smarty/sysplugins/smarty_internal_compile_ldelim.php:
--------------------------------------------------------------------------------
1 | getAttributes($compiler, $args);
31 | if ($_attr['nocache'] === true) {
32 | $compiler->trigger_template_error('nocache option not allowed', $compiler->lex->taglineno);
33 | }
34 | // this tag does not return compiled code
35 | $compiler->has_code = true;
36 | return $compiler->smarty->left_delimiter;
37 | }
38 |
39 | }
40 |
41 | ?>
42 |
--------------------------------------------------------------------------------
/ThinkPHP/Library/Vendor/Smarty/sysplugins/smarty_internal_compile_rdelim.php:
--------------------------------------------------------------------------------
1 | getAttributes($compiler, $args);
31 | if ($_attr['nocache'] === true) {
32 | $compiler->trigger_template_error('nocache option not allowed', $compiler->lex->taglineno);
33 | }
34 | // this tag does not return compiled code
35 | $compiler->has_code = true;
36 | return $compiler->smarty->right_delimiter;
37 | }
38 |
39 | }
40 |
41 | ?>
--------------------------------------------------------------------------------
/ThinkPHP/Library/Vendor/Elasticsearch/elasticsearch/elasticsearch/src/Elasticsearch/Endpoints/Cluster/Nodes/Shutdown.php:
--------------------------------------------------------------------------------
1 |
11 | * @license http://www.apache.org/licenses/LICENSE-2.0 Apache2
12 | * @link http://elasticsearch.org
13 | */
14 | class Shutdown extends AbstractNodesEndpoint
15 | {
16 | /**
17 | * @return string
18 | */
19 | protected function getURI()
20 | {
21 | $node_id = $this->nodeID;
22 | $uri = "/_shutdown";
23 |
24 | if (isset($node_id) === true) {
25 | $uri = "/_cluster/nodes/$node_id/_shutdown";
26 | }
27 |
28 | return $uri;
29 | }
30 |
31 | /**
32 | * @return string[]
33 | */
34 | protected function getParamWhitelist()
35 | {
36 | return array(
37 | 'delay',
38 | 'exit',
39 | );
40 | }
41 |
42 | /**
43 | * @return string
44 | */
45 | protected function getMethod()
46 | {
47 | return 'POST';
48 | }
49 | }
50 |
--------------------------------------------------------------------------------
/ThinkPHP/Library/Vendor/Elasticsearch/elasticsearch/elasticsearch/src/Elasticsearch/Endpoints/Indices/Delete.php:
--------------------------------------------------------------------------------
1 |
13 | * @license http://www.apache.org/licenses/LICENSE-2.0 Apache2
14 | * @link http://elasticsearch.org
15 | */
16 | class Delete extends AbstractEndpoint
17 | {
18 | /**
19 | * @return string
20 | */
21 | protected function getURI()
22 | {
23 | $index = $this->index;
24 | $uri = "/$index";
25 |
26 | if (isset($index) === true) {
27 | $uri = "/$index";
28 | }
29 |
30 | return $uri;
31 | }
32 |
33 | /**
34 | * @return string[]
35 | */
36 | protected function getParamWhitelist()
37 | {
38 | return array(
39 | 'timeout',
40 | 'master_timeout',
41 | );
42 | }
43 |
44 | /**
45 | * @return string
46 | */
47 | protected function getMethod()
48 | {
49 | return 'DELETE';
50 | }
51 | }
52 |
--------------------------------------------------------------------------------
/ThinkPHP/Library/Vendor/Elasticsearch/elasticsearch/elasticsearch/util/RestSpecRunner.php:
--------------------------------------------------------------------------------
1 | workingCopy(dirname(__DIR__) . '/util/elasticsearch');
23 |
24 | echo "Update elasticsearch submodule\n";
25 | $git->fetchAll(array('verbose' => true));
26 |
27 | $hash = $_SERVER['TEST_BUILD_REF'];
28 | echo "Checkout yaml tests (hash: $hash)\n";
29 | $git->checkout($hash, array('force' => true, 'quiet' => true));
30 |
--------------------------------------------------------------------------------
/ThinkPHP/Library/Vendor/Elasticsearch/react/promise/tests/DeferredTest.php:
--------------------------------------------------------------------------------
1 | [$d, 'promise'],
17 | 'resolve' => [$d, 'resolve'],
18 | 'reject' => [$d, 'reject'],
19 | 'notify' => [$d, 'progress'],
20 | 'settle' => [$d, 'resolve'],
21 | ]);
22 | }
23 |
24 | /** @test */
25 | public function progressIsAnAliasForNotify()
26 | {
27 | $deferred = new Deferred();
28 |
29 | $sentinel = new \stdClass();
30 |
31 | $mock = $this->createCallableMock();
32 | $mock
33 | ->expects($this->once())
34 | ->method('__invoke')
35 | ->with($sentinel);
36 |
37 | $deferred->promise()
38 | ->then($this->expectCallableNever(), $this->expectCallableNever(), $mock);
39 |
40 | $deferred->progress($sentinel);
41 | }
42 | }
43 |
--------------------------------------------------------------------------------
/ThinkPHP/Library/Vendor/Smarty/sysplugins/smarty_internal_compile_debug.php:
--------------------------------------------------------------------------------
1 | getAttributes($compiler, $args);
32 |
33 | // compile always as nocache
34 | $compiler->tag_nocache = true;
35 |
36 | // display debug template
37 | $_output = "smarty->loadPlugin('Smarty_Internal_Debug'); Smarty_Internal_Debug::display_debug(\$_smarty_tpl); ?>";
38 | return $_output;
39 | }
40 |
41 | }
42 |
43 | ?>
--------------------------------------------------------------------------------
/ThinkPHP/Library/Vendor/Elasticsearch/elasticsearch/elasticsearch/.travis.yml:
--------------------------------------------------------------------------------
1 | language: php
2 |
3 | branches:
4 | except:
5 | - 0.4
6 |
7 | sudo: false
8 |
9 | php:
10 | - 7.0
11 | - 5.6
12 | - 5.5
13 | - 5.4
14 | - hhvm
15 |
16 | matrix:
17 | fast_finish: true
18 | include:
19 | - php: 5.6
20 | env: ES_VERSION="2.1" TEST_BUILD_REF="origin/2.1"
21 | - php: 5.6
22 | env: ES_VERSION="2.0" TEST_BUILD_REF="origin/2.0"
23 | - php: 5.6
24 | env: ES_VERSION="1.7" TEST_BUILD_REF="origin/1.7"
25 | - php: 5.6
26 | env: ES_VERSION="1.6" TEST_BUILD_REF="origin/1.6"
27 | allow_failures:
28 | - php: hhvm
29 |
30 | env:
31 | global:
32 | - ES_VERSION="2.2"
33 | - TEST_BUILD_REF="origin/2.2"
34 | - ES_TEST_HOST=http://localhost:9200
35 |
36 | before_install:
37 | - ./travis/download_and_run_es.sh
38 |
39 | install:
40 | - composer install --prefer-source
41 |
42 | before_script:
43 | - if [ $TRAVIS_PHP_VERSION = '7.0' ]; then PHPUNIT_FLAGS="--coverage-clover ./build/logs/clover.xml"; fi
44 | - php util/RestSpecRunner.php
45 | - php util/EnsureClusterAlive.php
46 |
47 | script:
48 | - vendor/bin/phpunit $PHPUNIT_FLAGS
49 |
50 | after_script:
51 | - if [ $TRAVIS_PHP_VERSION = '7.0' ]; then php vendor/bin/coveralls; fi
52 |
--------------------------------------------------------------------------------
/ThinkPHP/Library/Vendor/Elasticsearch/elasticsearch/elasticsearch/src/Elasticsearch/Endpoints/Indices/Seal.php:
--------------------------------------------------------------------------------
1 |
14 | * @license http://www.apache.org/licenses/LICENSE-2.0 Apache2
15 | * @link http://elasticsearch.org
16 | */
17 | class Seal extends AbstractEndpoint
18 | {
19 | /**
20 | * @throws \Elasticsearch\Common\Exceptions\RuntimeException
21 | * @return string
22 | */
23 | protected function getURI()
24 | {
25 | $index = $this->index;
26 | $uri = "/_seal";
27 |
28 | if (isset($index) === true) {
29 | $uri = "/$index/_seal";
30 | }
31 |
32 | return $uri;
33 | }
34 |
35 | /**
36 | * @return string[]
37 | */
38 | protected function getParamWhitelist()
39 | {
40 | return array();
41 | }
42 |
43 | /**
44 | * @return string
45 | */
46 | protected function getMethod()
47 | {
48 | return 'POST';
49 | }
50 | }
51 |
--------------------------------------------------------------------------------
/ThinkPHP/Library/Vendor/Elasticsearch/elasticsearch/elasticsearch/src/Elasticsearch/Endpoints/Indices/Recovery.php:
--------------------------------------------------------------------------------
1 |
13 | * @license http://www.apache.org/licenses/LICENSE-2.0 Apache2
14 | * @link http://elasticsearch.org
15 | */
16 | class Recovery extends AbstractEndpoint
17 | {
18 | /**
19 | * @return string
20 | */
21 | protected function getURI()
22 | {
23 | $index = $this->index;
24 | $uri = "/_recovery";
25 |
26 | if (isset($index) === true) {
27 | $uri = "/$index/_recovery";
28 | }
29 |
30 | return $uri;
31 | }
32 |
33 | /**
34 | * @return string[]
35 | */
36 | protected function getParamWhitelist()
37 | {
38 | return array(
39 | 'detailed',
40 | 'active_only',
41 | 'human'
42 | );
43 | }
44 |
45 | /**
46 | * @return string
47 | */
48 | protected function getMethod()
49 | {
50 | return 'GET';
51 | }
52 | }
53 |
--------------------------------------------------------------------------------
/ThinkPHP/Library/Vendor/Elasticsearch/guzzlehttp/streams/src/DroppingStream.php:
--------------------------------------------------------------------------------
1 | stream = $stream;
21 | $this->maxLength = $maxLength;
22 | }
23 |
24 | public function write($string)
25 | {
26 | $diff = $this->maxLength - $this->stream->getSize();
27 |
28 | // Begin returning false when the underlying stream is too large.
29 | if ($diff <= 0) {
30 | return false;
31 | }
32 |
33 | // Write the stream or a subset of the stream if needed.
34 | if (strlen($string) < $diff) {
35 | return $this->stream->write($string);
36 | }
37 |
38 | $this->stream->write(substr($string, 0, $diff));
39 |
40 | return false;
41 | }
42 | }
43 |
--------------------------------------------------------------------------------
/ThinkPHP/Library/Vendor/spyc/tests/indent_1.yaml:
--------------------------------------------------------------------------------
1 | root:
2 | child_1: 2
3 |
4 | child_2: 0
5 | child_3: 1
6 |
7 | root2:
8 | child_1: 1
9 | # A comment
10 | child_2: 2
11 |
12 | displays:
13 | - resolutions:
14 | 1024: 768
15 | - resolutions:
16 | 1920: 1200
17 |
18 | display:
19 | - resolutions:
20 | 1024: 768
21 | 1920: 1200
22 | producer: "Nec"
23 |
24 | nested_hashes_and_seqs:
25 | - { row: 0, col: 0, headsets_affected: [{ports: [0], side: left}], switch_function: {ics_ptt: true} }
26 |
27 | easier_nest: { h: [{a: b, a1: b1}, {c: d}] }
28 |
29 | one_space: |
30 | By four
31 | spaces
32 |
33 | steps:
34 | - step: &id001
35 | instrument: Lasik 2000
36 | pulseEnergy: 5.4
37 | pulseDuration: 12
38 | repetition: 1000
39 | spotSize: 1mm
40 | - step:
41 | <<: *id001
42 | spotSize: 2mm
43 |
44 | death masks are:
45 | sad: 2
46 | <<: {magnificent: 4}
47 |
48 | login: &login
49 | adapter: mysql
50 | host: localhost
51 |
52 | development:
53 | database: rails_dev
54 | <<: *login
55 |
56 | "key": "value:"
57 | colon_only: ":"
58 |
59 | list_and_comment: [one, two, three] # comment
60 | kai:
61 | -example: value
62 | kai_list_of_items:
63 | - -item
64 | - '-item'
65 | -item
--------------------------------------------------------------------------------
/ThinkPHP/Library/Vendor/Elasticsearch/elasticsearch/elasticsearch/src/Elasticsearch/Endpoints/Cat/Count.php:
--------------------------------------------------------------------------------
1 |
13 | * @license http://www.apache.org/licenses/LICENSE-2.0 Apache2
14 | * @link http://elasticsearch.org
15 | */
16 | class Count extends AbstractEndpoint
17 | {
18 | /**
19 | * @return string
20 | */
21 | protected function getURI()
22 | {
23 | $index = $this->index;
24 | $uri = "/_cat/count";
25 |
26 | if (isset($index) === true) {
27 | $uri = "/_cat/count/$index";
28 | }
29 |
30 | return $uri;
31 | }
32 |
33 | /**
34 | * @return string[]
35 | */
36 | protected function getParamWhitelist()
37 | {
38 | return array(
39 | 'local',
40 | 'master_timeout',
41 | 'h',
42 | 'help',
43 | 'v',
44 | );
45 | }
46 |
47 | /**
48 | * @return string
49 | */
50 | protected function getMethod()
51 | {
52 | return 'GET';
53 | }
54 | }
55 |
--------------------------------------------------------------------------------
/ThinkPHP/Library/Vendor/Elasticsearch/elasticsearch/elasticsearch/composer.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "elasticsearch/elasticsearch",
3 | "description": "PHP Client for Elasticsearch",
4 | "keywords": ["search","client", "elasticsearch"],
5 | "type": "library",
6 | "license": "Apache 2",
7 | "authors": [
8 | {
9 | "name": "Zachary Tong"
10 | }
11 | ],
12 | "require": {
13 | "php": ">=5.4",
14 | "psr/log": "~1.0",
15 | "guzzlehttp/ringphp" : "~1.0"
16 | },
17 | "require-dev": {
18 | "phpunit/phpunit": "~4.7",
19 | "mockery/mockery": "0.9.4",
20 | "athletic/athletic": "~0.1",
21 | "symfony/yaml": "2.4.3 as 2.4.2",
22 | "twig/twig": "1.*",
23 | "cpliakas/git-wrapper": "~1.0"
24 | },
25 | "suggest": {
26 | "ext-curl": "*",
27 | "monolog/monolog": "Allows for client-level logging and tracing"
28 | },
29 | "autoload": {
30 | "psr-4": {
31 | "Elasticsearch\\": "src/Elasticsearch/"
32 | }
33 | },
34 | "autoload-dev": {
35 | "psr-4": {
36 | "Elasticsearch\\Tests\\": "tests/Elasticsearch/Tests/",
37 | "Elasticsearch\\Benchmarks\\": "benchmarks/Elasticsearch/Benchmarks/"
38 | }
39 | },
40 | "repositories": [
41 | {
42 | "type": "vcs",
43 | "url": "https://github.com/polyfractal/Yaml"
44 | }
45 | ]
46 | }
47 |
--------------------------------------------------------------------------------
/ThinkPHP/Library/Vendor/Elasticsearch/psr/log/README.md:
--------------------------------------------------------------------------------
1 | PSR Log
2 | =======
3 |
4 | This repository holds all interfaces/classes/traits related to
5 | [PSR-3](https://github.com/php-fig/fig-standards/blob/master/accepted/PSR-3-logger-interface.md).
6 |
7 | Note that this is not a logger of its own. It is merely an interface that
8 | describes a logger. See the specification for more details.
9 |
10 | Usage
11 | -----
12 |
13 | If you need a logger, you can use the interface like this:
14 |
15 | ```php
16 | logger = $logger;
27 | }
28 |
29 | public function doSomething()
30 | {
31 | if ($this->logger) {
32 | $this->logger->info('Doing work');
33 | }
34 |
35 | // do something useful
36 | }
37 | }
38 | ```
39 |
40 | You can then pick one of the implementations of the interface to get a logger.
41 |
42 | If you want to implement the interface, you can require this package and
43 | implement `Psr\Log\LoggerInterface` in your code. Please read the
44 | [specification text](https://github.com/php-fig/fig-standards/blob/master/accepted/PSR-3-logger-interface.md)
45 | for details.
46 |
--------------------------------------------------------------------------------
/ThinkPHP/Library/Vendor/Elasticsearch/elasticsearch/elasticsearch/src/Elasticsearch/Endpoints/Cluster/Nodes/HotThreads.php:
--------------------------------------------------------------------------------
1 |
11 | * @license http://www.apache.org/licenses/LICENSE-2.0 Apache2
12 | * @link http://elasticsearch.org
13 | */
14 | class HotThreads extends AbstractNodesEndpoint
15 | {
16 | /**
17 | * @return string
18 | */
19 | protected function getURI()
20 | {
21 | $node_id = $this->nodeID;
22 | $uri = "/_cluster/nodes/hotthreads";
23 |
24 | if (isset($node_id) === true) {
25 | $uri = "/_cluster/nodes/$node_id/hotthreads";
26 | }
27 |
28 | return $uri;
29 | }
30 |
31 | /**
32 | * @return string[]
33 | */
34 | protected function getParamWhitelist()
35 | {
36 | return array(
37 | 'interval',
38 | 'snapshots',
39 | 'threads',
40 | 'type',
41 | );
42 | }
43 |
44 | /**
45 | * @return string
46 | */
47 | protected function getMethod()
48 | {
49 | return 'GET';
50 | }
51 | }
52 |
--------------------------------------------------------------------------------
/ThinkPHP/Library/Vendor/Elasticsearch/guzzlehttp/streams/tests/NullStreamTest.php:
--------------------------------------------------------------------------------
1 | assertEquals('', $b->read(10));
12 | $this->assertEquals(4, $b->write('test'));
13 | $this->assertEquals('', (string) $b);
14 | $this->assertNull($b->getMetadata('a'));
15 | $this->assertEquals([], $b->getMetadata());
16 | $this->assertEquals(0, $b->getSize());
17 | $this->assertEquals('', $b->getContents());
18 | $this->assertEquals(0, $b->tell());
19 |
20 | $this->assertTrue($b->isReadable());
21 | $this->assertTrue($b->isWritable());
22 | $this->assertTrue($b->isSeekable());
23 | $this->assertFalse($b->seek(10));
24 |
25 | $this->assertTrue($b->eof());
26 | $b->detach();
27 | $this->assertTrue($b->eof());
28 | $b->close();
29 | }
30 |
31 | /**
32 | * @expectedException \GuzzleHttp\Stream\Exception\CannotAttachException
33 | */
34 | public function testCannotAttach()
35 | {
36 | $p = new NullStream();
37 | $p->attach('a');
38 | }
39 | }
40 |
--------------------------------------------------------------------------------
/ThinkPHP/Library/Vendor/Elasticsearch/elasticsearch/elasticsearch/src/Elasticsearch/Serializers/EverythingToJSONSerializer.php:
--------------------------------------------------------------------------------
1 |
11 | * @license http://www.apache.org/licenses/LICENSE-2.0 Apache2
12 | * @link http://elasticsearch.org
13 | */
14 | class EverythingToJSONSerializer implements SerializerInterface
15 | {
16 | /**
17 | * Serialize assoc array into JSON string
18 | *
19 | * @param string|array $data Assoc array to encode into JSON
20 | *
21 | * @return string
22 | */
23 | public function serialize($data)
24 | {
25 | $data = json_encode($data);
26 | if ($data === '[]') {
27 | return '{}';
28 | } else {
29 | return $data;
30 | }
31 | }
32 |
33 | /**
34 | * Deserialize JSON into an assoc array
35 | *
36 | * @param string $data JSON encoded string
37 | * @param array $headers Response headers
38 | *
39 | * @return array
40 | */
41 | public function deserialize($data, $headers)
42 | {
43 | return json_decode($data, true);
44 | }
45 | }
46 |
--------------------------------------------------------------------------------
/ThinkPHP/Library/Vendor/Elasticsearch/elasticsearch/elasticsearch/src/Elasticsearch/Endpoints/Cat/Shards.php:
--------------------------------------------------------------------------------
1 |
13 | * @license http://www.apache.org/licenses/LICENSE-2.0 Apache2
14 | * @link http://elasticsearch.org
15 | */
16 | class Shards extends AbstractEndpoint
17 | {
18 | /**
19 | * @return string
20 | */
21 | protected function getURI()
22 | {
23 | $index = $this->index;
24 | $uri = "/_cat/shards";
25 |
26 | if (isset($index) === true) {
27 | $uri = "/_cat/shards/$index";
28 | }
29 |
30 | return $uri;
31 | }
32 |
33 | /**
34 | * @return string[]
35 | */
36 | protected function getParamWhitelist()
37 | {
38 | return array(
39 | 'bytes',
40 | 'local',
41 | 'master_timeout',
42 | 'h',
43 | 'help',
44 | 'v',
45 | );
46 | }
47 |
48 | /**
49 | * @return string
50 | */
51 | protected function getMethod()
52 | {
53 | return 'GET';
54 | }
55 | }
56 |
--------------------------------------------------------------------------------
/ThinkPHP/Library/Vendor/Elasticsearch/elasticsearch/elasticsearch/src/Elasticsearch/Endpoints/Indices/Snapshotindex.php:
--------------------------------------------------------------------------------
1 |
13 | * @license http://www.apache.org/licenses/LICENSE-2.0 Apache2
14 | * @link http://elasticsearch.org
15 | */
16 | class Snapshotindex extends AbstractEndpoint
17 | {
18 | /**
19 | * @return string
20 | */
21 | protected function getURI()
22 | {
23 | $index = $this->index;
24 | $uri = "/_gateway/snapshot";
25 |
26 | if (isset($index) === true) {
27 | $uri = "/$index/_gateway/snapshot";
28 | }
29 |
30 | return $uri;
31 | }
32 |
33 | /**
34 | * @return string[]
35 | */
36 | protected function getParamWhitelist()
37 | {
38 | return array(
39 | 'ignore_unavailable',
40 | 'allow_no_indices',
41 | 'expand_wildcards',
42 | );
43 | }
44 |
45 | /**
46 | * @return string
47 | */
48 | protected function getMethod()
49 | {
50 | return 'POST';
51 | }
52 | }
53 |
--------------------------------------------------------------------------------
/ThinkPHP/Library/Vendor/Elasticsearch/elasticsearch/elasticsearch/src/Elasticsearch/Endpoints/Cat/Recovery.php:
--------------------------------------------------------------------------------
1 |
13 | * @license http://www.apache.org/licenses/LICENSE-2.0 Apache2
14 | * @link http://elasticsearch.org
15 | */
16 | class Recovery extends AbstractEndpoint
17 | {
18 | /**
19 | * @return string
20 | */
21 | protected function getURI()
22 | {
23 | $index = $this->index;
24 | $uri = "/_cat/recovery";
25 |
26 | if (isset($index) === true) {
27 | $uri = "/_cat/recovery/$index";
28 | }
29 |
30 | return $uri;
31 | }
32 |
33 | /**
34 | * @return string[]
35 | */
36 | protected function getParamWhitelist()
37 | {
38 | return array(
39 | 'bytes',
40 | 'local',
41 | 'master_timeout',
42 | 'h',
43 | 'help',
44 | 'v',
45 | );
46 | }
47 |
48 | /**
49 | * @return string
50 | */
51 | protected function getMethod()
52 | {
53 | return 'GET';
54 | }
55 | }
56 |
--------------------------------------------------------------------------------
/ThinkPHP/Library/Vendor/Elasticsearch/elasticsearch/elasticsearch/src/Elasticsearch/Endpoints/Indices/Gateway/Snapshot.php:
--------------------------------------------------------------------------------
1 |
13 | * @license http://www.apache.org/licenses/LICENSE-2.0 Apache2
14 | * @link http://elasticsearch.org
15 | */
16 | class Snapshot extends AbstractEndpoint
17 | {
18 | /**
19 | * @return string
20 | */
21 | protected function getURI()
22 | {
23 | $index = $this->index;
24 | $uri = "/_gateway/snapshot";
25 |
26 | if (isset($index) === true) {
27 | $uri = "/$index/_gateway/snapshot";
28 | }
29 |
30 | return $uri;
31 | }
32 |
33 | /**
34 | * @return string[]
35 | */
36 | protected function getParamWhitelist()
37 | {
38 | return array(
39 | 'ignore_unavailable',
40 | 'allow_no_indices',
41 | 'expand_wildcards'
42 | );
43 | }
44 |
45 | /**
46 | * @return string
47 | */
48 | protected function getMethod()
49 | {
50 | return 'POST';
51 | }
52 | }
53 |
--------------------------------------------------------------------------------
/ThinkPHP/Conf/debug.php:
--------------------------------------------------------------------------------
1 |
10 | // +----------------------------------------------------------------------
11 |
12 | /**
13 | * ThinkPHP 默认的调试模式配置文件
14 | */
15 | defined('THINK_PATH') or exit();
16 | // 调试模式下面默认设置 可以在应用配置目录下重新定义 debug.php 覆盖
17 | return array(
18 | 'LOG_RECORD' => true, // 进行日志记录
19 | 'LOG_EXCEPTION_RECORD' => true, // 是否记录异常信息日志
20 | 'LOG_LEVEL' => 'EMERG,ALERT,CRIT,ERR,WARN,NOTIC,INFO,DEBUG,SQL', // 允许记录的日志级别
21 | 'DB_FIELDS_CACHE' => false, // 字段缓存信息
22 | 'DB_DEBUG' => true, // 开启调试模式 记录SQL日志
23 | 'TMPL_CACHE_ON' => false, // 是否开启模板编译缓存,设为false则每次都会重新编译
24 | 'TMPL_STRIP_SPACE' => false, // 是否去除模板文件里面的html空格与换行
25 | 'SHOW_ERROR_MSG' => true, // 显示错误信息
26 | 'URL_CASE_INSENSITIVE' => false, // URL区分大小写
27 | );
--------------------------------------------------------------------------------
/ThinkPHP/Library/Vendor/Elasticsearch/elasticsearch/elasticsearch/src/Elasticsearch/Endpoints/Cat/Indices.php:
--------------------------------------------------------------------------------
1 |
13 | * @license http://www.apache.org/licenses/LICENSE-2.0 Apache2
14 | * @link http://elasticsearch.org
15 | */
16 |
17 | class Indices extends AbstractEndpoint
18 | {
19 | /**
20 | * @return string
21 | */
22 | protected function getURI()
23 | {
24 | $index = $this->index;
25 | $uri = "/_cat/indices";
26 |
27 | if (isset($index) === true) {
28 | $uri = "/_cat/indices/$index";
29 | }
30 |
31 | return $uri;
32 | }
33 |
34 | /**
35 | * @return string[]
36 | */
37 | protected function getParamWhitelist()
38 | {
39 | return array(
40 | 'bytes',
41 | 'local',
42 | 'master_timeout',
43 | 'h',
44 | 'help',
45 | 'pri',
46 | 'v',
47 | );
48 | }
49 |
50 | /**
51 | * @return string
52 | */
53 | protected function getMethod()
54 | {
55 | return 'GET';
56 | }
57 | }
58 |
--------------------------------------------------------------------------------
/ThinkPHP/Library/Vendor/Elasticsearch/elasticsearch/elasticsearch/src/Elasticsearch/Endpoints/Indices/Refresh.php:
--------------------------------------------------------------------------------
1 |
13 | * @license http://www.apache.org/licenses/LICENSE-2.0 Apache2
14 | * @link http://elasticsearch.org
15 | */
16 | class Refresh extends AbstractEndpoint
17 | {
18 | /**
19 | * @return string
20 | */
21 | protected function getURI()
22 | {
23 | $index = $this->index;
24 | $uri = "/_refresh";
25 |
26 | if (isset($index) === true) {
27 | $uri = "/$index/_refresh";
28 | }
29 |
30 | return $uri;
31 | }
32 |
33 | /**
34 | * @return string[]
35 | */
36 | protected function getParamWhitelist()
37 | {
38 | return array(
39 | 'ignore_unavailable',
40 | 'allow_no_indices',
41 | 'expand_wildcards',
42 | 'force',
43 | 'operation_threading',
44 | );
45 | }
46 |
47 | /**
48 | * @return string
49 | */
50 | protected function getMethod()
51 | {
52 | return 'GET';
53 | }
54 | }
55 |
--------------------------------------------------------------------------------
/ThinkPHP/Library/Think/Controller/JsonRpcController.class.php:
--------------------------------------------------------------------------------
1 |
10 | // +----------------------------------------------------------------------
11 | namespace Think\Controller;
12 | /**
13 | * ThinkPHP JsonRPC控制器类
14 | */
15 | class JsonRpcController {
16 |
17 | /**
18 | * 架构函数
19 | * @access public
20 | */
21 | public function __construct() {
22 | //控制器初始化
23 | if(method_exists($this,'_initialize'))
24 | $this->_initialize();
25 | //导入类库
26 | Vendor('jsonRPC.jsonRPCServer');
27 | // 启动server
28 | \jsonRPCServer::handle($this);
29 | }
30 |
31 | /**
32 | * 魔术方法 有不存在的操作的时候执行
33 | * @access public
34 | * @param string $method 方法名
35 | * @param array $args 参数
36 | * @return mixed
37 | */
38 | public function __call($method,$args){}
39 | }
40 |
--------------------------------------------------------------------------------
/ThinkPHP/Library/Vendor/Elasticsearch/elasticsearch/elasticsearch/src/Elasticsearch/Endpoints/Indices/Segments.php:
--------------------------------------------------------------------------------
1 |
13 | * @license http://www.apache.org/licenses/LICENSE-2.0 Apache2
14 | * @link http://elasticsearch.org
15 | */
16 | class Segments extends AbstractEndpoint
17 | {
18 | /**
19 | * @return string
20 | */
21 | protected function getURI()
22 | {
23 | $index = $this->index;
24 | $uri = "/_segments";
25 |
26 | if (isset($index) === true) {
27 | $uri = "/$index/_segments";
28 | }
29 |
30 | return $uri;
31 | }
32 |
33 | /**
34 | * @return string[]
35 | */
36 | protected function getParamWhitelist()
37 | {
38 | return array(
39 | 'ignore_unavailable',
40 | 'allow_no_indices',
41 | 'expand_wildcards',
42 | 'human',
43 | 'operation_threading',
44 | );
45 | }
46 |
47 | /**
48 | * @return string
49 | */
50 | protected function getMethod()
51 | {
52 | return 'GET';
53 | }
54 | }
55 |
--------------------------------------------------------------------------------
/ThinkPHP/Library/Vendor/Elasticsearch/elasticsearch/elasticsearch/src/Elasticsearch/Endpoints/Template/Get.php:
--------------------------------------------------------------------------------
1 |
14 | * @license http://www.apache.org/licenses/LICENSE-2.0 Apache2
15 | * @link http://elasticsearch.org
16 | */
17 | class Get extends AbstractEndpoint
18 | {
19 | /**
20 | * @throws \Elasticsearch\Common\Exceptions\RuntimeException
21 | * @return string
22 | */
23 | protected function getURI()
24 | {
25 | if (isset($this->id) !== true) {
26 | throw new Exceptions\RuntimeException(
27 | 'id is required for Get'
28 | );
29 | }
30 | $templateId = $this->id;
31 | $uri = "/_search/template/$templateId";
32 |
33 | return $uri;
34 | }
35 |
36 | /**
37 | * @return string[]
38 | */
39 | protected function getParamWhitelist()
40 | {
41 | return array();
42 | }
43 |
44 | /**
45 | * @return string
46 | */
47 | protected function getMethod()
48 | {
49 | return 'GET';
50 | }
51 | }
52 |
--------------------------------------------------------------------------------