<?php
// check for composer autoloader
if (!file_exists(__DIR__ . '/../common/autoload.php')) {
header('Content-type: text/html; charset=utf-8', true, 503);
echo '<h2>Error</h2>';
echo 'Please execute "composer install" from the command line to install the required dependencies for Shopware 5';
echo '<h2>Fehler</h2>';
echo 'Bitte führen Sie zuerst "composer install" aus.';
return;
}
require_once __DIR__ . '/../common/autoload.php';
define('UPDATE_PATH', __DIR__);
$isManual = is_dir(SW_PATH . '/update-assets');
if ($isManual) {
define('UPDATE_IS_MANUAL', true);
define('UPDATE_FILES_PATH', null);
define('UPDATE_ASSET_PATH', SW_PATH . '/update-assets');
define('UPDATE_META_FILE', null);
} else {
define('UPDATE_IS_MANUAL', false);
define('UPDATE_FILES_PATH', SW_PATH . '/files/update/files');
define('UPDATE_ASSET_PATH', SW_PATH . '/files/update/update-assets');
define('UPDATE_META_FILE', SW_PATH . '/files/update/update.json');
}
use Shopware\Recovery\Update\Console\Application;
use Symfony\Component\Console\Input\ArgvInput;
if (PHP_SAPI === 'cli') {
error_reporting(-1);
ini_set('display_errors', 1);
$input = new ArgvInput();
$env = $input->getParameterOption(['--env', '-e'], 'production');
$application = new Application($env);
return $application->run($input);
}
$app = require __DIR__ . '/src/app.php';
$app->run();
| nama | waktu | ukuran | owner | perm | aksi |
|---|---|---|---|---|---|
| .. | |||||
| assets/ | 2016-11-07 15:48 | 9.32 KB | 76129f60960:kunden | dxwrx-rx-r | |
| config/ | 2016-11-07 15:48 | 394 B | 76129f60960:kunden | dxwrx-rx-r | |
| data/ | 2025-01-28 22:35 | 10 KB | 76129f60960:kunden | dxwrx-rx-r | |
| src/ | 2016-11-07 15:48 | 87.47 KB | 76129f60960:kunden | dxwrx-rx-r | |
| templates/ | 2016-11-07 15:48 | 9.6 KB | 76129f60960:kunden | dxwrx-rx-r | |
| .htaccess | 2025-01-28 22:35 | 204 B | 76129f60960:kunden | -xw-x----- | |
| index.php | 2016-11-07 15:48 | 1.39 KB | 76129f60960:kunden | -xw-x----- | |
| maintenance.html | 2016-11-07 15:48 | 5.87 KB | 76129f60960:kunden | -xw-x----- | |