As of v1.4.4 nconf.get('upload_path'); is no longer a relative path pointing to the uploas directory, it is now an absolute path to the uploads directory. Change introduced in commit aaacdb8413c9bc3f3d47c249c0d0287eac1cad88
0.6.0 Breaking Changes
Yes, all hooks use only a single param now.
plugins.fireHook('someHookName', a, b, c, d, callback);
Not all the params are an object though like the one you posted.
@baris make every. Single. Hook. Have an object param. That way we will never ever need to worry about breaking changes again!
Seriously: consistency is the best possible thing you can have with software
Yeah agreed will try to get that in for 0.6.0
agarcia17 last edited by
ohh ok thanks for making it clear
Updated with header.tpl changes, relevant thread https://community.nodebb.org/topic/3488/header-tpl-changes