Kompletter neuaufsetzen von Contao v4.13.58

This commit is contained in:
Robert Wartenberg committed 2026-08-18 20:37:55 +02:00
1 parent e44b16e523
commit a36dc7d8a2
10 files changed
+13227 -59

No files matched your search

+3 -1
View File
@@ -10,6 +10,7 @@ declare(strict_types=1);
* @license LGPL-3.0-or-later
*/
use Composer\Autoload\ClassLoader;
use Contao\ManagerBundle\HttpKernel\ContaoKernel;
use Symfony\Component\HttpFoundation\Request;
use Symfony\Component\HttpKernel\TerminableInterface;
@@ -28,12 +29,13 @@ if (file_exists(__DIR__.'/../var/maintenance.html')) {
http_response_code(503);
header('Content-Type: text/html; charset=UTF-8');
header('Content-Length: '.strlen((string) $contents));
header('Content-Length: '.strlen($contents));
header('Cache-Control: no-store');
die($contents);
}
/** @var ClassLoader $loader */
$loader = require __DIR__.'/../vendor/autoload.php';
$request = Request::createFromGlobals();