Fix public links list, was broken by the new share mechanisms, and by any other php file inside the folder (#45)