Rest changes according to symfony/framework-standard-edition 2.8.15. Some autoload hacks added. Need to remove in future. See app/console and web/app_dev.php
This commit is contained in:
parent
9f53628373
commit
25cf7fab0a
|
@ -13,6 +13,7 @@ class AppKernel extends Kernel
|
||||||
new Symfony\Bundle\TwigBundle\TwigBundle(),
|
new Symfony\Bundle\TwigBundle\TwigBundle(),
|
||||||
new Symfony\Bundle\MonologBundle\MonologBundle(),
|
new Symfony\Bundle\MonologBundle\MonologBundle(),
|
||||||
new Symfony\Bundle\SwiftmailerBundle\SwiftmailerBundle(),
|
new Symfony\Bundle\SwiftmailerBundle\SwiftmailerBundle(),
|
||||||
|
// @todo remove
|
||||||
new Symfony\Bundle\AsseticBundle\AsseticBundle(),
|
new Symfony\Bundle\AsseticBundle\AsseticBundle(),
|
||||||
new Doctrine\Bundle\DoctrineBundle\DoctrineBundle(),
|
new Doctrine\Bundle\DoctrineBundle\DoctrineBundle(),
|
||||||
new Doctrine\Bundle\MigrationsBundle\DoctrineMigrationsBundle(),
|
new Doctrine\Bundle\MigrationsBundle\DoctrineMigrationsBundle(),
|
||||||
|
@ -26,12 +27,15 @@ class AppKernel extends Kernel
|
||||||
new Skobkin\Bundle\PointToolsBundle\SkobkinPointToolsBundle(),
|
new Skobkin\Bundle\PointToolsBundle\SkobkinPointToolsBundle(),
|
||||||
);
|
);
|
||||||
|
|
||||||
if (in_array($this->getEnvironment(), array('dev', 'test'))) {
|
if (in_array($this->getEnvironment(), ['dev', 'test'])) {
|
||||||
$bundles[] = new Symfony\Bundle\DebugBundle\DebugBundle();
|
$bundles[] = new Symfony\Bundle\DebugBundle\DebugBundle();
|
||||||
$bundles[] = new Symfony\Bundle\WebProfilerBundle\WebProfilerBundle();
|
$bundles[] = new Symfony\Bundle\WebProfilerBundle\WebProfilerBundle();
|
||||||
$bundles[] = new Sensio\Bundle\DistributionBundle\SensioDistributionBundle();
|
$bundles[] = new Sensio\Bundle\DistributionBundle\SensioDistributionBundle();
|
||||||
$bundles[] = new Sensio\Bundle\GeneratorBundle\SensioGeneratorBundle();
|
|
||||||
$bundles[] = new Doctrine\Bundle\FixturesBundle\DoctrineFixturesBundle();
|
$bundles[] = new Doctrine\Bundle\FixturesBundle\DoctrineFixturesBundle();
|
||||||
|
|
||||||
|
if ('dev' === $this->getEnvironment()) {
|
||||||
|
$bundles[] = new Sensio\Bundle\GeneratorBundle\SensioGeneratorBundle();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
return $bundles;
|
return $bundles;
|
||||||
|
|
|
@ -439,11 +439,13 @@ class SymfonyRequirements extends RequirementCollection
|
||||||
'Change the permissions of either "<strong>app/logs/</strong>" or "<strong>var/logs/</strong>" directory so that the web server can write into it.'
|
'Change the permissions of either "<strong>app/logs/</strong>" or "<strong>var/logs/</strong>" directory so that the web server can write into it.'
|
||||||
);
|
);
|
||||||
|
|
||||||
|
if (version_compare($installedPhpVersion, '7.0.0', '<')) {
|
||||||
$this->addPhpIniRequirement(
|
$this->addPhpIniRequirement(
|
||||||
'date.timezone', true, false,
|
'date.timezone', true, false,
|
||||||
'date.timezone setting must be set',
|
'date.timezone setting must be set',
|
||||||
'Set the "<strong>date.timezone</strong>" setting in php.ini<a href="#phpini">*</a> (like Europe/Paris).'
|
'Set the "<strong>date.timezone</strong>" setting in php.ini<a href="#phpini">*</a> (like Europe/Paris).'
|
||||||
);
|
);
|
||||||
|
}
|
||||||
|
|
||||||
if (false !== $requiredPhpVersion && version_compare($installedPhpVersion, $requiredPhpVersion, '>=')) {
|
if (false !== $requiredPhpVersion && version_compare($installedPhpVersion, $requiredPhpVersion, '>=')) {
|
||||||
$timezones = array();
|
$timezones = array();
|
||||||
|
@ -691,6 +693,21 @@ class SymfonyRequirements extends RequirementCollection
|
||||||
'Upgrade your <strong>intl</strong> extension with a newer ICU version (4+).'
|
'Upgrade your <strong>intl</strong> extension with a newer ICU version (4+).'
|
||||||
);
|
);
|
||||||
|
|
||||||
|
if (class_exists('Symfony\Component\Intl\Intl')) {
|
||||||
|
$this->addRecommendation(
|
||||||
|
\Symfony\Component\Intl\Intl::getIcuDataVersion() <= \Symfony\Component\Intl\Intl::getIcuVersion(),
|
||||||
|
sprintf('intl ICU version installed on your system is outdated (%s) and does not match the ICU data bundled with Symfony (%s)', \Symfony\Component\Intl\Intl::getIcuVersion(), \Symfony\Component\Intl\Intl::getIcuDataVersion()),
|
||||||
|
'To get the latest internationalization data upgrade the ICU system package and the intl PHP extension.'
|
||||||
|
);
|
||||||
|
if (\Symfony\Component\Intl\Intl::getIcuDataVersion() <= \Symfony\Component\Intl\Intl::getIcuVersion()) {
|
||||||
|
$this->addRecommendation(
|
||||||
|
\Symfony\Component\Intl\Intl::getIcuDataVersion() === \Symfony\Component\Intl\Intl::getIcuVersion(),
|
||||||
|
sprintf('intl ICU version installed on your system (%s) does not match the ICU data bundled with Symfony (%s)', \Symfony\Component\Intl\Intl::getIcuVersion(), \Symfony\Component\Intl\Intl::getIcuDataVersion()),
|
||||||
|
'To avoid internationalization data inconsistencies upgrade the symfony/intl component.'
|
||||||
|
);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
$this->addPhpIniRecommendation(
|
$this->addPhpIniRecommendation(
|
||||||
'intl.error_level',
|
'intl.error_level',
|
||||||
create_function('$cfgValue', 'return (int) $cfgValue === 0;'),
|
create_function('$cfgValue', 'return (int) $cfgValue === 0;'),
|
||||||
|
|
|
@ -3,9 +3,7 @@
|
||||||
use Doctrine\Common\Annotations\AnnotationRegistry;
|
use Doctrine\Common\Annotations\AnnotationRegistry;
|
||||||
use Composer\Autoload\ClassLoader;
|
use Composer\Autoload\ClassLoader;
|
||||||
|
|
||||||
/**
|
/** @var ClassLoader $loader */
|
||||||
* @var ClassLoader $loader
|
|
||||||
*/
|
|
||||||
$loader = require __DIR__.'/../vendor/autoload.php';
|
$loader = require __DIR__.'/../vendor/autoload.php';
|
||||||
|
|
||||||
AnnotationRegistry::registerLoader(array($loader, 'loadClass'));
|
AnnotationRegistry::registerLoader(array($loader, 'loadClass'));
|
||||||
|
|
|
@ -119,10 +119,14 @@ function echo_block($style, $title, $message)
|
||||||
|
|
||||||
echo PHP_EOL.PHP_EOL;
|
echo PHP_EOL.PHP_EOL;
|
||||||
|
|
||||||
echo_style($style, str_repeat(' ', $width).PHP_EOL);
|
echo_style($style, str_repeat(' ', $width));
|
||||||
echo_style($style, str_pad(' ['.$title.']', $width, ' ', STR_PAD_RIGHT).PHP_EOL);
|
echo PHP_EOL;
|
||||||
echo_style($style, str_pad($message, $width, ' ', STR_PAD_RIGHT).PHP_EOL);
|
echo_style($style, str_pad(' ['.$title.']', $width, ' ', STR_PAD_RIGHT));
|
||||||
echo_style($style, str_repeat(' ', $width).PHP_EOL);
|
echo PHP_EOL;
|
||||||
|
echo_style($style, $message);
|
||||||
|
echo PHP_EOL;
|
||||||
|
echo_style($style, str_repeat(' ', $width));
|
||||||
|
echo PHP_EOL;
|
||||||
}
|
}
|
||||||
|
|
||||||
function has_color_support()
|
function has_color_support()
|
||||||
|
|
|
@ -3,12 +3,15 @@ imports:
|
||||||
- { resource: security.yml }
|
- { resource: security.yml }
|
||||||
- { resource: services.yml }
|
- { resource: services.yml }
|
||||||
|
|
||||||
|
# Put parameters here that don't need to change on each machine where the app is deployed
|
||||||
|
# http://symfony.com/doc/current/best_practices/configuration.html#application-related-configuration
|
||||||
|
parameters:
|
||||||
|
locale: ru
|
||||||
|
|
||||||
framework:
|
framework:
|
||||||
#esi: ~
|
#esi: ~
|
||||||
translator: { fallbacks: ["%locale%"] }
|
translator: { fallbacks: ["%locale%"] }
|
||||||
serializer:
|
#serializer: { enable_annotations: true }
|
||||||
#enabled: true
|
|
||||||
enable_annotations: true
|
|
||||||
secret: "%secret%"
|
secret: "%secret%"
|
||||||
router:
|
router:
|
||||||
resource: "%kernel.root_dir%/config/routing.yml"
|
resource: "%kernel.root_dir%/config/routing.yml"
|
||||||
|
@ -18,7 +21,6 @@ framework:
|
||||||
validation: { enable_annotations: true }
|
validation: { enable_annotations: true }
|
||||||
templating:
|
templating:
|
||||||
engines: ['twig']
|
engines: ['twig']
|
||||||
#assets_version: SomeVersionScheme
|
|
||||||
default_locale: "%locale%"
|
default_locale: "%locale%"
|
||||||
trusted_hosts: ~
|
trusted_hosts: ~
|
||||||
trusted_proxies: ~
|
trusted_proxies: ~
|
||||||
|
@ -67,6 +69,7 @@ doctrine:
|
||||||
|
|
||||||
orm:
|
orm:
|
||||||
auto_generate_proxy_classes: "%kernel.debug%"
|
auto_generate_proxy_classes: "%kernel.debug%"
|
||||||
|
naming_strategy: doctrine.orm.naming_strategy.underscore
|
||||||
auto_mapping: true
|
auto_mapping: true
|
||||||
|
|
||||||
doctrine_migrations:
|
doctrine_migrations:
|
||||||
|
|
|
@ -17,21 +17,10 @@ monolog:
|
||||||
type: stream
|
type: stream
|
||||||
path: "%kernel.logs_dir%/%kernel.environment%.log"
|
path: "%kernel.logs_dir%/%kernel.environment%.log"
|
||||||
level: debug
|
level: debug
|
||||||
|
channels: [!event]
|
||||||
console:
|
console:
|
||||||
type: console
|
type: console
|
||||||
bubble: false
|
channels: [!event, !doctrine]
|
||||||
verbosity_levels:
|
|
||||||
VERBOSITY_VERBOSE: INFO
|
|
||||||
VERBOSITY_VERY_VERBOSE: DEBUG
|
|
||||||
channels: ["!doctrine"]
|
|
||||||
console_very_verbose:
|
|
||||||
type: console
|
|
||||||
bubble: false
|
|
||||||
verbosity_levels:
|
|
||||||
VERBOSITY_VERBOSE: NOTICE
|
|
||||||
VERBOSITY_VERY_VERBOSE: NOTICE
|
|
||||||
VERBOSITY_DEBUG: DEBUG
|
|
||||||
channels: ["doctrine"]
|
|
||||||
# uncomment to get logging in your browser
|
# uncomment to get logging in your browser
|
||||||
# you may have to allow bigger header sizes in your Web server configuration
|
# you may have to allow bigger header sizes in your Web server configuration
|
||||||
#firephp:
|
#firephp:
|
||||||
|
@ -41,8 +30,5 @@ monolog:
|
||||||
# type: chromephp
|
# type: chromephp
|
||||||
# level: info
|
# level: info
|
||||||
|
|
||||||
assetic:
|
|
||||||
use_controller: true
|
|
||||||
|
|
||||||
#swiftmailer:
|
#swiftmailer:
|
||||||
# delivery_address: me@example.com
|
# delivery_addresses: ['me@example.com']
|
|
@ -17,8 +17,6 @@ parameters:
|
||||||
point_login: point-tools
|
point_login: point-tools
|
||||||
point_id: 435
|
point_id: 435
|
||||||
|
|
||||||
locale: en
|
|
||||||
|
|
||||||
# A secret key that's used to generate certain security-related tokens
|
# A secret key that's used to generate certain security-related tokens
|
||||||
secret: ThisTokenIsNotSoSecretChangeIt
|
secret: ThisTokenIsNotSoSecretChangeIt
|
||||||
|
|
||||||
|
|
|
@ -6,10 +6,6 @@ _profiler:
|
||||||
resource: "@WebProfilerBundle/Resources/config/routing/profiler.xml"
|
resource: "@WebProfilerBundle/Resources/config/routing/profiler.xml"
|
||||||
prefix: /_profiler
|
prefix: /_profiler
|
||||||
|
|
||||||
_configurator:
|
|
||||||
resource: "@SensioDistributionBundle/Resources/config/routing/webconfigurator.xml"
|
|
||||||
prefix: /_configurator
|
|
||||||
|
|
||||||
_errors:
|
_errors:
|
||||||
resource: "@TwigBundle/Resources/config/routing/errors.xml"
|
resource: "@TwigBundle/Resources/config/routing/errors.xml"
|
||||||
prefix: /_error
|
prefix: /_error
|
||||||
|
|
19
app/console
19
app/console
|
@ -1,19 +1,20 @@
|
||||||
#!/usr/bin/env php
|
#!/usr/bin/env php
|
||||||
<?php
|
<?php
|
||||||
|
|
||||||
|
use Symfony\Bundle\FrameworkBundle\Console\Application;
|
||||||
|
use Symfony\Component\Console\Input\ArgvInput;
|
||||||
|
use Symfony\Component\Debug\Debug;
|
||||||
|
|
||||||
// if you don't want to setup permissions the proper way, just uncomment the following PHP line
|
// if you don't want to setup permissions the proper way, just uncomment the following PHP line
|
||||||
// read http://symfony.com/doc/current/book/installation.html#configuration-and-setup for more information
|
// read http://symfony.com/doc/current/setup.html#checking-symfony-application-configuration-and-setup
|
||||||
|
// for more information
|
||||||
//umask(0000);
|
//umask(0000);
|
||||||
umask(0002);
|
umask(0002);
|
||||||
|
|
||||||
set_time_limit(0);
|
set_time_limit(0);
|
||||||
|
|
||||||
require_once __DIR__.'/bootstrap.php.cache';
|
/** @var \Composer\Autoload\ClassLoader $loader */
|
||||||
require_once __DIR__.'/AppKernel.php';
|
$loader = require __DIR__.'/autoload.php';
|
||||||
|
|
||||||
use Symfony\Bundle\FrameworkBundle\Console\Application;
|
|
||||||
use Symfony\Component\Console\Input\ArgvInput;
|
|
||||||
use Symfony\Component\Debug\Debug;
|
|
||||||
|
|
||||||
$input = new ArgvInput();
|
$input = new ArgvInput();
|
||||||
$env = $input->getParameterOption(array('--env', '-e'), getenv('SYMFONY_ENV') ?: 'dev');
|
$env = $input->getParameterOption(array('--env', '-e'), getenv('SYMFONY_ENV') ?: 'dev');
|
||||||
|
@ -23,6 +24,10 @@ if ($debug) {
|
||||||
Debug::enable();
|
Debug::enable();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Hacking strange bug after update
|
||||||
|
// @todo remove on update
|
||||||
|
require_once __DIR__.'/AppKernel.php';
|
||||||
|
|
||||||
$kernel = new AppKernel($env, $debug);
|
$kernel = new AppKernel($env, $debug);
|
||||||
$application = new Application($kernel);
|
$application = new Application($kernel);
|
||||||
$application->run($input);
|
$application->run($input);
|
||||||
|
|
|
@ -9,15 +9,14 @@
|
||||||
"require": {
|
"require": {
|
||||||
"php": ">=7.0.0",
|
"php": ">=7.0.0",
|
||||||
"symfony/symfony": "2.8.*",
|
"symfony/symfony": "2.8.*",
|
||||||
"doctrine/orm": "~2.4,<2.7.0",
|
"doctrine/orm": "^2.4.8",
|
||||||
"doctrine/dbal": "~2.4",
|
|
||||||
"doctrine/doctrine-bundle": "~1.4",
|
"doctrine/doctrine-bundle": "~1.4",
|
||||||
"twig/extensions": "~1.0",
|
"twig/extensions": "~1.0",
|
||||||
"symfony/assetic-bundle": "~2.3",
|
"symfony/assetic-bundle": "~2.3",
|
||||||
"symfony/swiftmailer-bundle": "~2.3",
|
"symfony/swiftmailer-bundle": "~2.3,>=2.3.10",
|
||||||
"symfony/monolog-bundle": "~2.4",
|
"symfony/monolog-bundle": "^3.0.2",
|
||||||
"sensio/distribution-bundle": "~4.0",
|
"sensio/distribution-bundle": "~5.0",
|
||||||
"sensio/framework-extra-bundle": "~3.0,>=3.0.2",
|
"sensio/framework-extra-bundle": "^3.0.2",
|
||||||
"incenteev/composer-parameter-handler": "~2.0",
|
"incenteev/composer-parameter-handler": "~2.0",
|
||||||
"misd/guzzle-bundle": "~1.0",
|
"misd/guzzle-bundle": "~1.0",
|
||||||
"ob/highcharts-bundle": "^1.2",
|
"ob/highcharts-bundle": "^1.2",
|
||||||
|
@ -29,31 +28,24 @@
|
||||||
"csa/guzzle-bundle": "^2.1"
|
"csa/guzzle-bundle": "^2.1"
|
||||||
},
|
},
|
||||||
"require-dev": {
|
"require-dev": {
|
||||||
"sensio/generator-bundle": "~2.3",
|
"sensio/generator-bundle": "~3.0",
|
||||||
"doctrine/doctrine-fixtures-bundle": "^2.3",
|
"symfony/phpunit-bridge": "~2.7",
|
||||||
"phpunit/phpunit": "^5.7"
|
"doctrine/doctrine-fixtures-bundle": "^2.3"
|
||||||
},
|
},
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"post-root-package-install": [
|
"symfony-scripts": [
|
||||||
"SymfonyStandard\\Composer::hookRootPackageInstall"
|
"Incenteev\\ParameterHandler\\ScriptHandler::buildParameters",
|
||||||
|
"Sensio\\Bundle\\DistributionBundle\\Composer\\ScriptHandler::buildBootstrap",
|
||||||
|
"Sensio\\Bundle\\DistributionBundle\\Composer\\ScriptHandler::clearCache",
|
||||||
|
"Sensio\\Bundle\\DistributionBundle\\Composer\\ScriptHandler::installAssets",
|
||||||
|
"Sensio\\Bundle\\DistributionBundle\\Composer\\ScriptHandler::installRequirementsFile",
|
||||||
|
"Sensio\\Bundle\\DistributionBundle\\Composer\\ScriptHandler::prepareDeploymentTarget"
|
||||||
],
|
],
|
||||||
"post-install-cmd": [
|
"post-install-cmd": [
|
||||||
"Incenteev\\ParameterHandler\\ScriptHandler::buildParameters",
|
"@symfony-scripts"
|
||||||
"Sensio\\Bundle\\DistributionBundle\\Composer\\ScriptHandler::buildBootstrap",
|
|
||||||
"Sensio\\Bundle\\DistributionBundle\\Composer\\ScriptHandler::clearCache",
|
|
||||||
"Sensio\\Bundle\\DistributionBundle\\Composer\\ScriptHandler::installAssets",
|
|
||||||
"Sensio\\Bundle\\DistributionBundle\\Composer\\ScriptHandler::installRequirementsFile",
|
|
||||||
"Sensio\\Bundle\\DistributionBundle\\Composer\\ScriptHandler::removeSymfonyStandardFiles",
|
|
||||||
"Sensio\\Bundle\\DistributionBundle\\Composer\\ScriptHandler::prepareDeploymentTarget"
|
|
||||||
],
|
],
|
||||||
"post-update-cmd": [
|
"post-update-cmd": [
|
||||||
"Incenteev\\ParameterHandler\\ScriptHandler::buildParameters",
|
"@symfony-scripts"
|
||||||
"Sensio\\Bundle\\DistributionBundle\\Composer\\ScriptHandler::buildBootstrap",
|
|
||||||
"Sensio\\Bundle\\DistributionBundle\\Composer\\ScriptHandler::clearCache",
|
|
||||||
"Sensio\\Bundle\\DistributionBundle\\Composer\\ScriptHandler::installAssets",
|
|
||||||
"Sensio\\Bundle\\DistributionBundle\\Composer\\ScriptHandler::installRequirementsFile",
|
|
||||||
"Sensio\\Bundle\\DistributionBundle\\Composer\\ScriptHandler::removeSymfonyStandardFiles",
|
|
||||||
"Sensio\\Bundle\\DistributionBundle\\Composer\\ScriptHandler::prepareDeploymentTarget"
|
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"config": {
|
"config": {
|
||||||
|
@ -67,7 +59,7 @@
|
||||||
"file": "app/config/parameters.yml"
|
"file": "app/config/parameters.yml"
|
||||||
},
|
},
|
||||||
"branch-alias": {
|
"branch-alias": {
|
||||||
"dev-master": "2.7-dev"
|
"dev-master": "2.8-dev"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
1310
composer.lock
generated
1310
composer.lock
generated
File diff suppressed because it is too large
Load diff
18
web/app.php
18
web/app.php
|
@ -1,25 +1,13 @@
|
||||||
<?php
|
<?php
|
||||||
|
|
||||||
use Symfony\Component\ClassLoader\ApcClassLoader;
|
|
||||||
use Symfony\Component\HttpFoundation\Request;
|
use Symfony\Component\HttpFoundation\Request;
|
||||||
|
|
||||||
$loader = require_once __DIR__.'/../app/bootstrap.php.cache';
|
/** @var \Composer\Autoload\ClassLoader $loader */
|
||||||
|
$loader = require __DIR__.'/../app/autoload.php';
|
||||||
// Enable APC for autoloading to improve performance.
|
include_once __DIR__.'/../app/bootstrap.php.cache';
|
||||||
// You should change the ApcClassLoader first argument to a unique prefix
|
|
||||||
// in order to prevent cache key conflicts with other applications
|
|
||||||
// also using APC.
|
|
||||||
/*
|
|
||||||
$apcLoader = new ApcClassLoader(sha1(__FILE__), $loader);
|
|
||||||
$loader->unregister();
|
|
||||||
$apcLoader->register(true);
|
|
||||||
*/
|
|
||||||
|
|
||||||
umask(0002);
|
umask(0002);
|
||||||
|
|
||||||
require_once __DIR__.'/../app/AppKernel.php';
|
|
||||||
//require_once __DIR__.'/../app/AppCache.php';
|
|
||||||
|
|
||||||
$kernel = new AppKernel('prod', false);
|
$kernel = new AppKernel('prod', false);
|
||||||
$kernel->loadClassCache();
|
$kernel->loadClassCache();
|
||||||
//$kernel = new AppCache($kernel);
|
//$kernel = new AppCache($kernel);
|
||||||
|
|
|
@ -20,14 +20,16 @@ if (isset($_SERVER['HTTP_CLIENT_IP'])
|
||||||
exit('You are not allowed to access this file. Check '.basename(__FILE__).' for more information.');
|
exit('You are not allowed to access this file. Check '.basename(__FILE__).' for more information.');
|
||||||
}
|
}
|
||||||
|
|
||||||
//$loader = require_once __DIR__.'/../app/bootstrap.php.cache';
|
/** @var \Composer\Autoload\ClassLoader $loader */
|
||||||
$loader = require_once __DIR__.'/../app/autoload.php';
|
$loader = require __DIR__.'/../app/autoload.php';
|
||||||
Debug::enable();
|
Debug::enable();
|
||||||
|
|
||||||
|
// Hacking strange bug after update
|
||||||
|
// @todo remove on update
|
||||||
require_once __DIR__.'/../app/AppKernel.php';
|
require_once __DIR__.'/../app/AppKernel.php';
|
||||||
|
|
||||||
$kernel = new AppKernel('dev', true);
|
$kernel = new AppKernel('dev', true);
|
||||||
//$kernel->loadClassCache();
|
$kernel->loadClassCache();
|
||||||
$request = Request::createFromGlobals();
|
$request = Request::createFromGlobals();
|
||||||
$response = $kernel->handle($request);
|
$response = $kernel->handle($request);
|
||||||
$response->send();
|
$response->send();
|
||||||
|
|
BIN
web/favicon.ico
BIN
web/favicon.ico
Binary file not shown.
Before Width: | Height: | Size: 6.4 KiB After Width: | Height: | Size: 1.4 KiB |
Loading…
Reference in a new issue