mirror of
https://github.com/nextcloud/server.git
synced 2026-04-15 22:11:17 -04:00
RUNTIME_NOSETUPFS no longer exists, using tearDownFS() in public links instead
This commit is contained in:
parent
26732ecaa6
commit
9b622bdeed
2 changed files with 1 additions and 2 deletions
|
|
@ -1,5 +1,4 @@
|
|||
<?php
|
||||
$RUNTIME_NOSETUPFS = true;
|
||||
// Load other apps for file previews
|
||||
OC_App::loadApps();
|
||||
|
||||
|
|
@ -46,6 +45,7 @@ if (isset($_GET['t'])) {
|
|||
$fileOwner = $shareOwner;
|
||||
}
|
||||
if (isset($fileOwner)) {
|
||||
OC_Util::tearDownFS();
|
||||
OC_Util::setupFS($fileOwner);
|
||||
$path = \OC\Files\Filesystem::getPath($linkItem['file_source']);
|
||||
}
|
||||
|
|
|
|||
1
cron.php
1
cron.php
|
|
@ -45,7 +45,6 @@ function handleUnexpectedShutdown() {
|
|||
}
|
||||
}
|
||||
|
||||
$RUNTIME_NOSETUPFS = true;
|
||||
require_once 'lib/base.php';
|
||||
|
||||
session_write_close();
|
||||
|
|
|
|||
Loading…
Reference in a new issue