Skip to content

Instantly share code, notes, and snippets.

@mgao6767
Last active October 7, 2018 09:14
Show Gist options
  • Save mgao6767/64ae027222258d181fd43b35e0018ede to your computer and use it in GitHub Desktop.
Save mgao6767/64ae027222258d181fd43b35e0018ede to your computer and use it in GitHub Desktop.
To resolve infinite login loop
<?php
/* To resolve the login loop issue */
define('ADMIN_COOKIE_PATH', '/');
define('COOKIE_DOMAIN', '');
define('COOKIEPATH', '');
define('SITECOOKIEPATH', '');
/* end */
/* That's all, stop editing! Happy blogging. */
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment