Hook Issues
Submitted Nils, May 22 2012 12:42 PM | Last updated May 22 2012 12:42 PM
If I import a hook, the PHP files are exported as <original>_<random md5>.php to the hooks directory. But when I then try to edit the hook, the file names in the Files tab are still the original ones. Thus, when I save the hook, IP.Board will suddenly not find the PHP files anymore and the hook stops working.
This definitely happens in dev mode, not sure about normal mode.
This definitely happens in dev mode, not sure about normal mode.
| Status: | Not a Bug |
| Version: | 3.3.2 |
| Fixed In: |











3 Comments
I'd like to change a bit how the whole import/export thing works while using IN_DEV but this is working as intended right now.
On a related note - why doesn't IP.Board check whether the hook PHP files exist on save? This would catch this error, as well as a few other possible ones.
I can only quote what I've already said