Commit 8eeea5e5 authored by Carl Schwan's avatar Carl Schwan 🚴

Revert "Add debug output"

This reverts commit 4ddb79b7.
parent 4ddb79b7
Pipeline #25107 passed with stage
in 3 minutes and 10 seconds
......@@ -9,10 +9,10 @@ use Symfony\Component\HttpFoundation\Request;
require __DIR__.'/config/bootstrap.php';
//if ($_SERVER['APP_DEBUG']) {
if ($_SERVER['APP_DEBUG']) {
umask(0000);
Debug::enable();
///}
}
if (!file_exists('./var/cache')) {
die();
......@@ -26,7 +26,7 @@ if ($trustedHosts = $_SERVER['TRUSTED_HOSTS'] ?? $_ENV['TRUSTED_HOSTS'] ?? false
Request::setTrustedHosts([$trustedHosts]);
}
$kernel = new Kernel('prod', true);
$kernel = new Kernel('prod', false);
$request = Request::createFromGlobals();
$response = $kernel->handle($request);
$response->send();
......
......@@ -129,6 +129,7 @@ class MainController extends AbstractController
'application' => $application,
'category' => $category,
'locale' => $_locale,
'locales' => $this->getParameter('app.locales'),
]);
}
}
......@@ -62,6 +62,7 @@ SPDX-License-Identifier: AGPL-3.0-or-later
</a>
</div>
<code>git clone https://invent.kde.org/{{ application.repository }}</code>
{{ locales }}
</div>
</main>
{% endblock %}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment