Zegnåt Wrote:Nice one, that might be a function we should start distributing within the core.
One nitpick comment though, don’t use:
It’s better to use:Code:if (defined('GSCOOKIEISSITEWIDE'))
That way people can set it to “false†if they want to disable it again as well. It’s better to have it working as a toggle than as something that has to be commented out.Code:if (defined('GSCOOKIEISSITEWIDE')&&GSCOOKIEISSITEWIDE==true)
This is something we’ll work on in the core as well, especially with the debug setting which should also be able to be false.
Hi there.. Updated the cookie_functions.php file as per your advise. Attached is the file.
Have a nice day.
Stopped developing on GS Plugins. Anybody welcome to take the projects over. Thanks for all the support all.