• 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?


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 ?
// Cookie support
$config['cookie'] = array(
  'prefix' => 'MyPrefix_',
  'path' => '/',
  'domain' => ''