0de90cfc67
* 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>
17 lines
446 B
PHP
17 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>
|