Here users from all over the world gather around to learn the latest about Chevereto and contribute with ideas to improve the software.
Please keep in mind:
UPDATE chv_images set image_album_id=123, image_user_id=321 WHERE image_user_id IS NULL
Use the same solution for this. In the theme folder there is a search.php simply add to the very topYes Im using 'if admin' too, but still when user knows chevereto, then he can see all private images on our site. Anyone can use this url domain.com/search/images/?q=text&page=1 to see private images.
<?php if(is_admin()) { ?>
<?php }else{ G\redirect($handler->issue404); } ?>