remove yaml component
This commit is contained in:
@@ -4,7 +4,6 @@
|
|||||||
"symfony/http-kernel" : "2.1.*",
|
"symfony/http-kernel" : "2.1.*",
|
||||||
"symfony/routing" : "2.1.*",
|
"symfony/routing" : "2.1.*",
|
||||||
"symfony/config" : "2.1.*",
|
"symfony/config" : "2.1.*",
|
||||||
"symfony/yaml" : "2.1.*",
|
|
||||||
"symfony/dependency-injection" : "2.1.*",
|
"symfony/dependency-injection" : "2.1.*",
|
||||||
"symfony/console" : "2.1.*",
|
"symfony/console" : "2.1.*",
|
||||||
"symfony/event-dispatcher" : "2.1.*",
|
"symfony/event-dispatcher" : "2.1.*",
|
||||||
|
|||||||
49
core/composer.lock
generated
49
core/composer.lock
generated
@@ -1,5 +1,5 @@
|
|||||||
{
|
{
|
||||||
"hash": "1d8c7207462e0d701000ae6e732d0301",
|
"hash": "3c86ee22b1c2f391706858ad5eaa28ec",
|
||||||
"packages": [
|
"packages": [
|
||||||
{
|
{
|
||||||
"name": "phing/phing",
|
"name": "phing/phing",
|
||||||
@@ -538,53 +538,6 @@
|
|||||||
],
|
],
|
||||||
"description": "Symfony Routing Component",
|
"description": "Symfony Routing Component",
|
||||||
"homepage": "http://symfony.com"
|
"homepage": "http://symfony.com"
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "symfony/yaml",
|
|
||||||
"version": "v2.1.4",
|
|
||||||
"target-dir": "Symfony/Component/Yaml",
|
|
||||||
"source": {
|
|
||||||
"type": "git",
|
|
||||||
"url": "https://github.com/symfony/Yaml",
|
|
||||||
"reference": "v2.1.4"
|
|
||||||
},
|
|
||||||
"dist": {
|
|
||||||
"type": "zip",
|
|
||||||
"url": "https://github.com/symfony/Yaml/archive/v2.1.4.zip",
|
|
||||||
"reference": "v2.1.4",
|
|
||||||
"shasum": ""
|
|
||||||
},
|
|
||||||
"require": {
|
|
||||||
"php": ">=5.3.3"
|
|
||||||
},
|
|
||||||
"time": "2012-11-08 09:51:48",
|
|
||||||
"type": "library",
|
|
||||||
"extra": {
|
|
||||||
"branch-alias": {
|
|
||||||
"dev-master": "2.1-dev"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"installation-source": "dist",
|
|
||||||
"autoload": {
|
|
||||||
"psr-0": {
|
|
||||||
"Symfony\\Component\\Yaml": ""
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"license": [
|
|
||||||
"MIT"
|
|
||||||
],
|
|
||||||
"authors": [
|
|
||||||
{
|
|
||||||
"name": "Fabien Potencier",
|
|
||||||
"email": "fabien@symfony.com"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "Symfony Community",
|
|
||||||
"homepage": "http://symfony.com/contributors"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"description": "Symfony Yaml Component",
|
|
||||||
"homepage": "http://symfony.com"
|
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"packages-dev": null,
|
"packages-dev": null,
|
||||||
|
|||||||
@@ -5,7 +5,7 @@ use Thelia\Core\Thelia;
|
|||||||
|
|
||||||
//use Symfony\Component\DependencyInjection;
|
//use Symfony\Component\DependencyInjection;
|
||||||
|
|
||||||
$env = 'debug';
|
$env = 'dev';
|
||||||
require __DIR__ . '/core/bootstrap.php';
|
require __DIR__ . '/core/bootstrap.php';
|
||||||
|
|
||||||
$trustIp = array(
|
$trustIp = array(
|
||||||
@@ -19,7 +19,7 @@ if ( false === in_array($request->getClientIp(), $trustIp)) {
|
|||||||
//change request to send to a 404 error page
|
//change request to send to a 404 error page
|
||||||
}
|
}
|
||||||
|
|
||||||
$thelia = new Thelia('dev', true);
|
$thelia = new Thelia($env, true);
|
||||||
|
|
||||||
$response = $thelia->handle($request)->prepare($request)->send();
|
$response = $thelia->handle($request)->prepare($request)->send();
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user