mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-01-18 11:58:24 +01:00
query videoconference room, if VC is configured
This commit is contained in:
parent
bf1bf26cc8
commit
e6546080a0
@ -478,6 +478,7 @@ class SharingBase extends LoggedInTest
|
|||||||
preg_match('|^https?://[^/]+(/.*)share.php/'.$share['share_token'].'$|', $path_info=$_SERVER['REQUEST_URI'], $matches);
|
preg_match('|^https?://[^/]+(/.*)share.php/'.$share['share_token'].'$|', $path_info=$_SERVER['REQUEST_URI'], $matches);
|
||||||
$_SERVER['SCRIPT_NAME'] = $matches[1];
|
$_SERVER['SCRIPT_NAME'] = $matches[1];
|
||||||
$is_dir = Vfs::is_dir($path);
|
$is_dir = Vfs::is_dir($path);
|
||||||
|
$mimetype = Vfs::mime_content_type($path);
|
||||||
|
|
||||||
|
|
||||||
// Re-init, since they look at user, fstab, etc.
|
// Re-init, since they look at user, fstab, etc.
|
||||||
@ -497,7 +498,7 @@ class SharingBase extends LoggedInTest
|
|||||||
else
|
else
|
||||||
{
|
{
|
||||||
// If it's a file, check to make sure we get the file
|
// If it's a file, check to make sure we get the file
|
||||||
$this->checkSharedFile($link, $path);
|
$this->checkSharedFile($link, $mimetype);
|
||||||
}
|
}
|
||||||
|
|
||||||
// Load share
|
// Load share
|
||||||
|
Loading…
Reference in New Issue
Block a user