Invision Community 4: SEO, prepare for v5 and dormant account notifications Matt November 11, 2024Nov 11
Posted October 2, 20159 yr Yes, i know, maybe is a newbie question, but i've seen now hooks.txt in plugins directory, and inside this txt file is present a strangest code. Someone can explain the utility of this file and / or of this code? Can i remove?
October 2, 20159 yr If you remove it, it will just be recreated automatically. It is an encrypted file that contains information on hooks that are needed by applications to work correctly. It is saved as an encrypted text file for performance reasons.
October 3, 20159 yr It was encrypted because of security reasons. Since it is a txt file, everybody could access it via the web if you don't disallow the access via htaccess But this will be changed in IPS 4.1. The hooks.txt was renamed to hooks.php and it won't be encrypted anymore.
October 3, 20159 yr Author ok, but i don't have plugin, and it contain encrypted data... this cause preoccupation yes, an htaccess for deny access, or (best) a php is a good idea thanks, and regards!
October 3, 20159 yr Pages and Commerce have also hooks, so if you use one of this app, the file would have some content.
Archived
This topic is now archived and is closed to further replies.