mirror of
https://github.com/nextcloud/server.git
synced 2026-11-30 20:18:46 +01:00
apps/viewer becomes a minimal, always enabled app again, the server side of the viewer. It keeps the user's viewer settings the way the Files app keeps its own: a config lexicon declaring them, a UserConfig service holding what the lexicon cannot say, an OCS endpoint to change one, and the settings handed to the viewer as initial state. They are the slideshow delay, and the volume of videos and audio and whether they start muted. Core keeps loading the viewer itself. It is no longer an abandoned app to clean up after, and continues the old app's versions at 9.0.0-dev.0, after 8.0.0 in 35. Assisted-by: ClaudeCode:claude-opus-5-5 Signed-off-by: John Molakvoæ <14975046+skjnldsv@users.noreply.github.com>
23 lines
722 B
PHP
23 lines
722 B
PHP
<?php
|
|
|
|
// autoload.php @generated by Composer
|
|
|
|
if (PHP_VERSION_ID < 50600) {
|
|
if (!headers_sent()) {
|
|
header('HTTP/1.1 500 Internal Server Error');
|
|
}
|
|
$err = 'Composer 2.3.0 dropped support for autoloading on PHP <5.6 and you are running '.PHP_VERSION.', please upgrade PHP or use Composer 2.2 LTS via "composer self-update --2.2". Aborting.'.PHP_EOL;
|
|
if (!ini_get('display_errors')) {
|
|
if (PHP_SAPI === 'cli' || PHP_SAPI === 'phpdbg') {
|
|
fwrite(STDERR, $err);
|
|
} elseif (!headers_sent()) {
|
|
echo $err;
|
|
}
|
|
}
|
|
throw new RuntimeException($err);
|
|
}
|
|
|
|
require_once __DIR__ . '/composer/autoload_real.php';
|
|
|
|
return ComposerAutoloaderInitViewer::getLoader();
|