It didn't work without that path for me so I changed it according to where the file was in the structure provided. Not sure why I wouldn't get the cookie setting if that's the case.
Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.
Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.