mirror of
https://github.com/nextcloud/server.git
synced 2024-08-20 02:10:20 +02:00
![Morris Jobke](/assets/img/avatar_default.png)
* Nextcloud is not properly loaded in the standalone version (especially the theming) * it is already not listed anymore in the Nginx config (see nextcloud/documentation#392) * the index.php-free version doesn't support this Signed-off-by: Morris Jobke <hey@morrisjobke.de>
18 lines
446 B
PHP
18 lines
446 B
PHP
<?php
|
|
// @codeCoverageIgnoreStart
|
|
if(!isset($_)) {//standalone page is not supported anymore - redirect to /
|
|
require_once '../../lib/base.php';
|
|
|
|
$urlGenerator = \OC::$server->getURLGenerator();
|
|
header('Location: ' . $urlGenerator->getAbsoluteURL('/'));
|
|
exit;
|
|
}
|
|
// @codeCoverageIgnoreEnd
|
|
?>
|
|
<ul>
|
|
<li class='error'>
|
|
<?php p($l->t( 'Access forbidden' )); ?><br>
|
|
<p class='hint'><?php if(isset($_['file'])) p($_['file'])?></p>
|
|
</li>
|
|
</ul>
|