• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

XF 1.5 Discover Cookie Prefix for use within Addon?

Mouth

Well-known member
#1
How (sample code?) does an add-on developer identify the XF sites cookie name/prefix where it has been changed from the xf_ default via library/config.php ?
Code:
// Cookie support
$config['cookie'] = array(
  'prefix' => 'MyPrefix_',
  'path' => '/',
  'domain' => ''
);