}
}
if (false === $env || null === $env) {
if (!$this->container->hasParameter("env($name)")) {
throw new EnvNotFoundException(sprintf('Environment variable not found: "%s".', $name));
}
$env = $this->container->getParameter("env($name)");
}
}
$prefix = '';
}
$this->resolving[$envName] = true;
try {
return $this->envCache[$name] = $processor->getEnv($prefix, $localName, $this->getEnv);
} finally {
unset($this->resolving[$envName]);
}
}
case 'directories': $value = [
'config' => (\dirname(__DIR__, 4).'/lvconfig'),
'data' => (\dirname(__DIR__, 4).'/data'),
'cache' => $this->targetDir.'',
]; break;
case 'kernel.secret': $value = $this->getEnv('APP_SECRET'); break;
case 'debug.container.dump': $value = ($this->targetDir.''.'/App_KernelDevDebugContainer.xml'); break;
case 'serializer.mapping.cache.file': $value = ($this->targetDir.''.'/serialization.php'); break;
case 'validator.mapping.cache.file': $value = ($this->targetDir.''.'/validation.php'); break;
case 'profiler.storage.dsn': $value = ('file:'.$this->targetDir.''.'/profiler'); break;
case 'qipsius_tcpdf.tcpdf': $value = [
public function getParameterBag(): ParameterBagInterface
{
if (null === $this->parameterBag) {
$parameters = $this->parameters;
foreach ($this->loadedDynamicParameters as $name => $loaded) {
$parameters[$name] = $loaded ? $this->dynamicParameters[$name] : $this->getDynamicParameter($name);
}
foreach ($this->buildParameters as $name => $value) {
$parameters[$name] = $value;
}
$this->parameterBag = new FrozenParameterBag($parameters);
{
$constKey = strtoupper($k);
if (!defined($constKey))
{
$value = $this->container->getParameterBag()->resolveValue($v);
// All K_ constants are required
if (0 === stripos($k, 'k_'))
{
$this->preBoot();
}
foreach ($this->getBundles() as $bundle) {
$bundle->setContainer($this->container);
$bundle->boot();
}
$this->booted = true;
}
if ($container->has('http_cache')) {
return $container->get('http_cache')->handle($request, $type, $catch);
}
}
$this->boot();
++$this->requestStackSize;
$this->resetServices = true;
try {
return $this->getHttpKernel()->handle($request, $type, $catch);
$this->request = $request;
}
public function run(): int
{
$response = $this->kernel->handle($this->request);
$response->send();
if ($this->kernel instanceof TerminableInterface) {
$this->kernel->terminate($this->request, $response);
}
$app = $app(...$args);
exit(
$runtime
->getRunner($app)
->run()
);
* @version 10.2.0
*/
use App\Kernel;
require_once __DIR__.'/vendor/autoload_runtime.php';
if(!isset($_SERVER['HTTP_X_FORWARDED_PROTO']) && isset($_SERVER['HTTP_X_HCL_FORWARDED_PROTO'])) {
$_SERVER['HTTP_X_FORWARDED_PROTO'] = $_SERVER['HTTP_X_HCL_FORWARDED_PROTO'];
}
if(!isset($_SERVER['HTTP_X_FORWARDED_PORT']) && isset($_SERVER['HTTP_X_HCL_FORWARDED_PORT'])) {
EnvNotFoundException
|
---|
Symfony\Component\DependencyInjection\Exception\EnvNotFoundException: Environment variable not found: "APP_SECRET". at /data/sites/web/bart-francisbe/www/vendor/symfony/dependency-injection/EnvVarProcessor.php:178 at Symfony\Component\DependencyInjection\EnvVarProcessor->getEnv('string', 'APP_SECRET', object(Closure)) (/data/sites/web/bart-francisbe/www/vendor/symfony/dependency-injection/Container.php:401) at Symfony\Component\DependencyInjection\Container->getEnv('APP_SECRET') (/data/sites/web/bart-francisbe/www/var/cache/dev/ContainerC6gIw0D/App_KernelDevDebugContainer.php:5166) at ContainerC6gIw0D\App_KernelDevDebugContainer->getDynamicParameter('kernel.secret') (/data/sites/web/bart-francisbe/www/var/cache/dev/ContainerC6gIw0D/App_KernelDevDebugContainer.php:5128) at ContainerC6gIw0D\App_KernelDevDebugContainer->getParameterBag() (/data/sites/web/bart-francisbe/www/vendor/qipsius/tcpdf-bundle/QipsiusTCPDFBundle.php:36) at Qipsius\TCPDFBundle\QipsiusTCPDFBundle->boot() (/data/sites/web/bart-francisbe/www/vendor/symfony/http-kernel/Kernel.php:133) at Symfony\Component\HttpKernel\Kernel->boot() (/data/sites/web/bart-francisbe/www/vendor/symfony/http-kernel/Kernel.php:197) at Symfony\Component\HttpKernel\Kernel->handle(object(Request)) (/data/sites/web/bart-francisbe/www/vendor/symfony/runtime/Runner/Symfony/HttpKernelRunner.php:35) at Symfony\Component\Runtime\Runner\Symfony\HttpKernelRunner->run() (/data/sites/web/bart-francisbe/www/vendor/autoload_runtime.php:35) at require_once('/data/sites/web/bart-francisbe/www/vendor/autoload_runtime.php') (/data/sites/web/bart-francisbe/www/index.php:14) |