Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- define('COOKIEPATH', '/');
- define('COOKIE_DOMAIN', '.domain.com');
- define('COOKIEPATH', preg_replace('|https?://[^/]+|i', '', get_option('home') . '/' ) );
- define('SITECOOKIEPATH', preg_replace('|https?://[^/]+|i', '', get_option('siteurl') . '/' ) );
- define('ADMIN_COOKIE_PATH', SITECOOKIEPATH . 'wp-admin' );
- define('PLUGINS_COOKIE_PATH', preg_replace('|https?://[^/]+|i', '', WP_PLUGIN_URL) );
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement