Skip to content

Commit

Permalink
Update application.php
Browse files Browse the repository at this point in the history
  • Loading branch information
EarthlingDavey committed Oct 29, 2024
1 parent 9d21a71 commit b2737aa
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions config/application.php
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,10 @@
Config::define('WP_HOME', env('WP_HOME'));
Config::define('WP_SITEURL', env('WP_SITEURL'));
Config::define('LOOPBACK_URL', env('LOOPBACK_URL') ?? 'http://127.0.0.1:8080');
// Explicitly set cookie paths, to prevent conflicting wordpress_logged_in... wordpress_sec_... cookies.
Config::define('COOKIEPATH', '/');
Config::define('SITECOOKIEPATH', '/');
Config::define('ADMIN_COOKIE_PATH', '/');

/**
* Custom Content Directory
Expand Down

0 comments on commit b2737aa

Please sign in to comment.