Invision Community 4: SEO, prepare for v5 and dormant account notifications By Matt Monday at 02:04 PM
ipbfuck Posted October 2, 2015 Posted October 2, 2015 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?
Kevin Carwile Posted October 2, 2015 Posted October 2, 2015 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.
Daniel F Posted October 3, 2015 Posted October 3, 2015 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.
ipbfuck Posted October 3, 2015 Author Posted October 3, 2015 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!
Daniel F Posted October 3, 2015 Posted October 3, 2015 Pages and Commerce have also hooks, so if you use one of this app, the file would have some content.
ipbfuck Posted October 3, 2015 Author Posted October 3, 2015 I've entire suite, except commerce (so yes, I've pages)
Recommended Posts
Archived
This topic is now archived and is closed to further replies.