fixed auth check
This commit is contained in:
parent
1072ee525d
commit
3ec07d58b7
1 changed files with 1 additions and 1 deletions
2
svg.php
2
svg.php
|
@ -49,7 +49,7 @@ class SVG {
|
|||
$file = self::IMGDIR . $svg;
|
||||
if(!file_exists($file)) {
|
||||
// media files are ACL protected
|
||||
if(auth_quickaclcheck($svg)) $this->abort(403);
|
||||
if(auth_quickaclcheck($svg) < AUTH_READ) $this->abort(403);
|
||||
$file = mediaFN($svg);
|
||||
}
|
||||
// check if media exists
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue