mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-02-06 07:04:57 +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) {
|
||||
header('Content-Type: image/svg+xml');
|
||||
readfile('../views/'.$theme.'/images/empty.svg');
|
||||
exit;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user