Mouth Well-known member Nov 28, 2017 #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' => '' );
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' => '' );
Mike XenForo developer Staff member Nov 29, 2017 #2 Code: XenForo_Application::get('config')->cookie->prefix