Skip to content

Commit

Permalink
Restrict to web images
Browse files Browse the repository at this point in the history
  • Loading branch information
sh-csg committed Jul 16, 2024
1 parent 31376c7 commit b26fc98
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions lib.php
Original file line number Diff line number Diff line change
Expand Up @@ -69,4 +69,11 @@ public function get_listing($path = '', $page = '') {
$ret['nologin'] = true;
return $ret;
}

/**
* This plugin supports only web images.
*/
public function supported_filetypes() {
return ['web_image'];
}
}

0 comments on commit b26fc98

Please sign in to comment.