mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-11-29 19:03:34 +00:00
show empty pic if no access
This commit is contained in:
parent
5e9a4515b3
commit
28676c8065
|
|
@ -49,6 +49,8 @@ if (!is_object($document)) {
|
||||||
}
|
}
|
||||||
|
|
||||||
if ($document->getAccessMode($user) < M_READ) {
|
if ($document->getAccessMode($user) < M_READ) {
|
||||||
|
header('Content-Type: image/svg+xml');
|
||||||
|
readfile('../views/'.$theme.'/images/empty.svg');
|
||||||
exit;
|
exit;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user