* los baspath added
This commit is contained in:
parent
8cde36864d
commit
d67b145f56
@ -10,6 +10,7 @@
|
|||||||
"require": {
|
"require": {
|
||||||
"php": "^7.1",
|
"php": "^7.1",
|
||||||
"http-interop/http-middleware": "^0.4.1",
|
"http-interop/http-middleware": "^0.4.1",
|
||||||
|
"los/basepath": "^1.0",
|
||||||
"roave/security-advisories": "dev-master",
|
"roave/security-advisories": "dev-master",
|
||||||
"zendframework/zend-component-installer": "^1.0",
|
"zendframework/zend-component-installer": "^1.0",
|
||||||
"zendframework/zend-config": "3.1.0",
|
"zendframework/zend-config": "3.1.0",
|
||||||
|
|||||||
58
composer.lock
generated
58
composer.lock
generated
@ -4,7 +4,7 @@
|
|||||||
"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#composer-lock-the-lock-file",
|
"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#composer-lock-the-lock-file",
|
||||||
"This file is @generated automatically"
|
"This file is @generated automatically"
|
||||||
],
|
],
|
||||||
"content-hash": "094c0eaf2b10021157346ca1419de4e5",
|
"content-hash": "6fb0545051f1b3db45bd70bffd15dc3e",
|
||||||
"packages": [
|
"packages": [
|
||||||
{
|
{
|
||||||
"name": "container-interop/container-interop",
|
"name": "container-interop/container-interop",
|
||||||
@ -195,6 +195,49 @@
|
|||||||
],
|
],
|
||||||
"time": "2016-12-28T00:14:17+00:00"
|
"time": "2016-12-28T00:14:17+00:00"
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"name": "los/basepath",
|
||||||
|
"version": "1.0.1",
|
||||||
|
"source": {
|
||||||
|
"type": "git",
|
||||||
|
"url": "https://github.com/Lansoweb/basepath.git",
|
||||||
|
"reference": "8a40de843a4c7cf1fdac51d7e33c7dfbcfb08d29"
|
||||||
|
},
|
||||||
|
"dist": {
|
||||||
|
"type": "zip",
|
||||||
|
"url": "https://api.github.com/repos/Lansoweb/basepath/zipball/8a40de843a4c7cf1fdac51d7e33c7dfbcfb08d29",
|
||||||
|
"reference": "8a40de843a4c7cf1fdac51d7e33c7dfbcfb08d29",
|
||||||
|
"shasum": ""
|
||||||
|
},
|
||||||
|
"require": {
|
||||||
|
"container-interop/container-interop": "~1.1",
|
||||||
|
"php": "^7.0",
|
||||||
|
"psr/http-message": "~1.0"
|
||||||
|
},
|
||||||
|
"require-dev": {
|
||||||
|
"phpunit/phpunit": "^5.0",
|
||||||
|
"zendframework/zend-diactoros": "^1.0"
|
||||||
|
},
|
||||||
|
"type": "library",
|
||||||
|
"autoload": {
|
||||||
|
"psr-4": {
|
||||||
|
"LosMiddleware\\BasePath\\": "src/"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"notification-url": "https://packagist.org/downloads/",
|
||||||
|
"license": [
|
||||||
|
"MIT"
|
||||||
|
],
|
||||||
|
"authors": [
|
||||||
|
{
|
||||||
|
"name": "Leandro Silva",
|
||||||
|
"homepage": "http://leandrosilva.info/"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"description": "PHP middleware to remove a path prefix from request uri",
|
||||||
|
"homepage": "https://github.com/lansoweb/basepath",
|
||||||
|
"time": "2016-08-27T20:56:32+00:00"
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"name": "nikic/fast-route",
|
"name": "nikic/fast-route",
|
||||||
"version": "v1.2.0",
|
"version": "v1.2.0",
|
||||||
@ -343,12 +386,12 @@
|
|||||||
"source": {
|
"source": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"url": "https://github.com/Roave/SecurityAdvisories.git",
|
"url": "https://github.com/Roave/SecurityAdvisories.git",
|
||||||
"reference": "a54d4cf91890993ee599c446e2eb3dba3f9eae32"
|
"reference": "402a514551804df5b4b2150f217e23a15408795a"
|
||||||
},
|
},
|
||||||
"dist": {
|
"dist": {
|
||||||
"type": "zip",
|
"type": "zip",
|
||||||
"url": "https://api.github.com/repos/Roave/SecurityAdvisories/zipball/a54d4cf91890993ee599c446e2eb3dba3f9eae32",
|
"url": "https://api.github.com/repos/Roave/SecurityAdvisories/zipball/402a514551804df5b4b2150f217e23a15408795a",
|
||||||
"reference": "a54d4cf91890993ee599c446e2eb3dba3f9eae32",
|
"reference": "402a514551804df5b4b2150f217e23a15408795a",
|
||||||
"shasum": ""
|
"shasum": ""
|
||||||
},
|
},
|
||||||
"conflict": {
|
"conflict": {
|
||||||
@ -362,9 +405,10 @@
|
|||||||
"codeigniter/framework": "<=3.0.6",
|
"codeigniter/framework": "<=3.0.6",
|
||||||
"composer/composer": "<=1.0.0-alpha11",
|
"composer/composer": "<=1.0.0-alpha11",
|
||||||
"contao-components/mediaelement": ">=2.14.2,<2.21.1",
|
"contao-components/mediaelement": ">=2.14.2,<2.21.1",
|
||||||
"contao/core": ">=2,<3.5.31",
|
"contao/core": ">=2,<3.5.32",
|
||||||
"contao/core-bundle": ">=4,<4.4.8",
|
"contao/core-bundle": ">=4,<4.4.8",
|
||||||
"contao/listing-bundle": ">=4,<4.4.8",
|
"contao/listing-bundle": ">=4,<4.4.8",
|
||||||
|
"contao/newsletter-bundle": ">=4,<4.1",
|
||||||
"doctrine/annotations": ">=1,<1.2.7",
|
"doctrine/annotations": ">=1,<1.2.7",
|
||||||
"doctrine/cache": ">=1,<1.3.2|>=1.4,<1.4.2",
|
"doctrine/cache": ">=1,<1.3.2|>=1.4,<1.4.2",
|
||||||
"doctrine/common": ">=2,<2.4.3|>=2.5,<2.5.1",
|
"doctrine/common": ">=2,<2.4.3|>=2.5,<2.5.1",
|
||||||
@ -480,7 +524,7 @@
|
|||||||
}
|
}
|
||||||
],
|
],
|
||||||
"description": "Prevents installation of composer packages with known security vulnerabilities: no API, simply require it",
|
"description": "Prevents installation of composer packages with known security vulnerabilities: no API, simply require it",
|
||||||
"time": "2018-01-13T18:31:46+00:00"
|
"time": "2018-01-18T10:00:53+00:00"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "webimpress/composer-extra-dependency",
|
"name": "webimpress/composer-extra-dependency",
|
||||||
@ -3481,7 +3525,7 @@
|
|||||||
"prefer-stable": false,
|
"prefer-stable": false,
|
||||||
"prefer-lowest": false,
|
"prefer-lowest": false,
|
||||||
"platform": {
|
"platform": {
|
||||||
"php": "^7.0"
|
"php": "^7.1"
|
||||||
},
|
},
|
||||||
"platform-dev": []
|
"platform-dev": []
|
||||||
}
|
}
|
||||||
|
|||||||
21
config/autoload/los-basepath.global.php.dist
Normal file
21
config/autoload/los-basepath.global.php.dist
Normal file
@ -0,0 +1,21 @@
|
|||||||
|
<?php
|
||||||
|
|
||||||
|
return [
|
||||||
|
|
||||||
|
'los_basepath' => '/cps',
|
||||||
|
|
||||||
|
'dependencies' => [
|
||||||
|
'factories' => [
|
||||||
|
LosMiddleware\BasePath\BasePath::class => LosMiddleware\BasePath\BasePathFactory::class,
|
||||||
|
],
|
||||||
|
],
|
||||||
|
|
||||||
|
'middleware_pipeline' => [
|
||||||
|
'always' => [
|
||||||
|
'middleware' => [
|
||||||
|
LosMiddleware\BasePath\BasePath::class
|
||||||
|
],
|
||||||
|
],
|
||||||
|
],
|
||||||
|
|
||||||
|
];
|
||||||
Loading…
x
Reference in New Issue
Block a user