XF 1.5 Discover Cookie Prefix for use within Addon?

Mouth

Well-known member
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' => ''
);
 
Top