fixed bug #2567: Login fails saying "please enable cookies"
fixed bug #2567: Login fails saying "please enable cookies"

This change sets the cookie path before the session is started. In some
cases (tikiroot not at DocumentRoot, or request modified by mod_rewrite),
the default cookie path saves the PHP session cookie in the wrong path.
The cange also ensures that there is a slash (/) following the path.


git-svn-id: 9bac41f8ebc9458fc3e28d41abfab39641e8bd1c@30672 b456876b-0849-0410-b77d-98878d47e9d5

tikiorg/tiki,tikiorg/tiki,changi67/tiki,tikiorg/tiki,oregional/tiki,changi67/tiki,changi67/tiki,changi67/tiki,oregional/tiki,oregional/tiki,changi67/tiki,tikiorg/tiki,oregional/tiki